[armedbear-devel] destroy-thread and unwind-protect

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


On Oct 24, 2011, at 17:59 , James Lawrence wrote:

[…]

> Thanks for the response.
> 
> That seems like a different issue. The purpose is not to guarantee
> that the thread is destroyed.
> 
> The behavior sought is: when the protected form stops executing, run
> the cleanup forms.

[…]

> 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.



More information about the armedbear-devel mailing list