On Oct 24, 2011, at 18:38 , James Lawrence wrote:
On Mon, Oct 24, 2011 at 12:23 PM, Mark Evenson evenson.not.org@gmail.com wrote:
On Oct 24, 2011, at 17:59 , James Lawrence wrote:
In my case I am only interested in detecting the termination of a thread without polling. Maybe there is an ABCL-specific way to do that.
THREADS:THREAD-ALIVE-P Function: Boolean predicate whether THREAD is alive.
Well as I mentioned, I am interested a non-polling alternative.
The [java.util.concurrent][1] package as [thread pool Executors][2] that definitely don't poll, and arguably provide some of the most performant queuing available for the Oracle JVM implementation. At least you need a good reason *not* to use it, as it is thoroughly debugged and tested. Suggest using [JSS][3]
[1]: http://download.oracle.com/javase/6/docs/api/java/util/concurrent/package-su... [2]: http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPool... [3]: http://code.google.com/p/abcl-dynamic-install/wiki/JSS