directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Closed: (DIR-11) Channel registration in InputManager blocks
Date Wed, 06 May 2009 15:51:30 GMT


Emmanuel Lecharny closed DIR-11.

> Channel registration in InputManager blocks
> -------------------------------------------
>                 Key: DIR-11
>                 URL:
>             Project: Directory
>          Issue Type: Bug
>            Reporter: Alex Karasulu
>            Assignee: Alex Karasulu
>            Priority: Critical
> After a new client is accepted by the ListenerManager a ConnectEvent
> is fired on the event router to inform subscribers of the new client socket connection.
 The InputManager is a ConnectEvent subscriber and it needs to be able to register these new
channels with its own
> selector to be able to detect incoming IO but within the inform(ConnectEvent) method
of the DefaultInputManager implementation the call to register hangs.  Even with surrounding
m_selector.wakeup() calls I cannot get the code to unblock.  
> The code unblocks when the l_channel.configureBlocking( false ) line just above the register()
line is commented out or set to true.  I'm screwing something up here and perhaps it requires
another set of eyes.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message