You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/09/08 18:29:04 UTC
DO NOT REPLY [Bug 31123] New: -
Infinite loop in MTQueue.remove
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31123>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31123
Infinite loop in MTQueue.remove
Summary: Infinite loop in MTQueue.remove
Product: Commons
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Sandbox
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: perrymunger@mac.com
The while(true) in MTQueue causes DefaultThreadPool to fail to shutdown. The
workaround I have implemented is to add a boolean attribute that is set by a
'stop' method that is called by DefaultThreadPool.stop(). This way, when a
thread is stopped, its queue will release so it can actually go away.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org