[armedbear-devel] See java.util.concurrent (was Re: destroy-thread and unwind-protect)

Mark Evenson evenson.not.org at gmail.com
Mon Oct 24 16:59:11 UTC 2011

On Oct 24, 2011, at 18:38 , James Lawrence wrote:

> On Mon, Oct 24, 2011 at 12:23 PM, Mark Evenson
> <evenson.not.org at 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.
>>  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-summary.html
[2]: http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html
[3]: http://code.google.com/p/abcl-dynamic-install/wiki/JSS

More information about the armedbear-devel mailing list