Hello,

I have a project that requires the client to shutdown quickly and we make
all child threads in the app daemon.  We need this to include the threads
managed by mina to shutdown.

I see previous messages in this list where the thread for the
IdleStatusChecker is a daemon.  However, I do not see whereit is actually
created as a daemon.  It looks like everywhere the NotifyingTask is used it
is in a class whose Executor will be Executors.newCachedThreadPool().  This
executor uses the DefaultThreadFactory that forces threads to not be daemon.

I am unfamilier with the Mina api.  Is there a way to force the checker
threads to be daemons so they do not hold up the client shutting down?

Thanks,
Jacob Tomaw

-- 
Jacob Tomaw
tfl:The Flatiron Life (http://tomaw.com)
Follow me on Twitter! (http://twitter.com/JacobTomaw)

Reply via email to