https://issues.apache.org/bugzilla/show_bug.cgi?id=48584

--- Comment #10 from Konstantin Kolinko <knst.koli...@gmail.com> 2010-02-08 
04:46:37 UTC ---
I still wonder, what is causing this at the Java side:

(see 5. in Comment 8): what is closing those sockets and whether it is possible
to wait for termination of those Acceptor threads before going on and calling
Library.terminate()?


Due to asynchronous nature of this issue, there is still a time frame in
r907567 between if(tcn_global_pool) check and apr_pool_destroy(p) call when apr
termination can occur.  Though that is probably negligible. It is better to go
with r907567 than without.

The TCN_THROW_IF_ERR can still be called with terminated APR, but that is
probably safe -- I think that apr_strerror() call (inside
tcn_ThrowAPRException() that is called from TCN_THROW_IF_ERR macro) should
still work even after APR is terminated.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to