[ 
https://issues.apache.org/jira/browse/DIRMINA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trustin Lee resolved DIRMINA-456.
---------------------------------

    Resolution: Fixed

Sharing ThreadLocal instance between IoProcessors and IoFutures is very 
difficult to implement.  As an alternative, I changed DefaultIoFuture to check 
the call stack every five seconds.  Please check the following diff:  
http://tinyurl.com/2srfpg

Does it make a sense?  It's very efficient IMHO because dead lock detection is 
not performed for every await() call.

> Provide mechanism for detecting a dead lock caused by calling 
> IoFuture.await() in an I/O processor thread.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-456
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-456
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Mike Heath
>            Assignee: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.0-M1
>
>
> As described in this thread http://tinyurl.com/3cwkb3, we need to provide 
> support for flushing the session's write queue from the 
> IoHandler.messageRecieved() method.

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

Reply via email to