[ 
https://issues.apache.org/jira/browse/DIRMINA-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635727#action_12635727
 ] 

ben commented on DIRMINA-625:
-----------------------------

I'm using MINA 2.0 M3, version 2.0 can be set up thread  model? 

This is a server-side code, does not set any thread of things, including the 
thread pool

acceptor = new NioSocketAcceptor(Runtime.getRuntime().availableProcessors()+1);
chain = acceptor.getFilterChain();
addLogger(chain);
chain.addLast("codec", new ProtocolCodecFilter(new 
TextLineCodecFactory(Charset.forName("UTF-8"))));
IHandler handler = new MyHandler();
acceptor.setHandler(handler);
acceptor.bind(new InetSocketAddress(PORT));

> How to use the function awaitUninterruptibly or await
> -----------------------------------------------------
>
>                 Key: DIRMINA-625
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-625
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-M3
>            Reporter: ben
>
> Always reported abnormal DEAD LOCK, How to use it.

-- 
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