[concurrency-interest] ThreadPoolExecutor not shutting down

Ben Manes ben_manes at yahoo.com
Thu Mar 18 20:35:26 EDT 2010

This sounds like you'd want to use daemon thread factory, use a shutdown hook to stop the executor, or another approach to let the VM gracefully exit.

From: Dibyendu Majumdar <concurrency-interest at majumdar.org.uk>
To: concurrency-interest at cs.oswego.edu
Sent: Thu, March 18, 2010 3:05:34 PM
Subject: [concurrency-interest] ThreadPoolExecutor not shutting down

I am running Java 1.5 on Mac OS X Tiger - and I think that the ThreadPoolExecutor code is a very old version. The pool is not shutting down; by running through the debugger I can see that all idle threads are blocked on a queue, and the shutdown sequence does not interrupt idle threads.
Is there any way I can run a more up-to-date version with Java 1.5?
Is there a known workaround to this issue?

Many thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20100318/9728d14c/attachment.html>

More information about the Concurrency-interest mailing list