gonzalo diethelm wrote:
Although not strictly necessary, I would have the expectation that,
since MINA is based on NIO, it should be possible to build a single
executable that listens on a port and connects to itself on that port,
all from a single thread. Is this possible at all?
No. As soon as you create an Acceptor, it spawns a new thread. Then as soon as you accep an incoming connection, at least one new thread is created to process the connection.

What you see in the logs is just plain normal The Main thread may ends, but as you have at least one more existing thread.



--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to