[threads-standard-discuss] Worker thread pools and some kind of thread-finished-p predicate

Peter Graves peter at armedbear.org
Wed Jul 21 18:22:10 UTC 2004


On Wed, 21 Jul 2004 at 12:25:23 -0500, Brian Mastenbrook wrote:
> To that end I would propose that a predicate thread-finished-p should
> be added, which returns true when a thread is no longer eligible for
> execution, either by normal or abnormal termination.

I like the idea of this predicate, but I'd rather see it called THREAD-
ALIVE-P, instead of THREAD-FINISHED-P.

"Finished" might carry some vague connotation that the thread has run
through to an orderly completion ("I've finished my work), but "alive"
is just the opposite of dead.

-Peter





More information about the Threads-standard-discuss mailing list