[Bordeaux-threads-devel] Patch for ABCL against BORDEAUX-THREADS-0.8.0

Martin Simmons martin at lispworks.com
Fri Dec 3 15:56:32 UTC 2010


>>>>> On Fri, 03 Dec 2010 14:37:52 +0100, Mark Evenson said:
> 
> Implement CONDITION-WAIT and CONDITION-NOTIFY for ABCL.

That version of CONDITION-WAIT won't work properly:

- More than one thread can wake up from a single call to CONDITION-NOTIFY.

- If CONDITION-WAIT is called while another thread is inside THREAD-YIELD,
  then any pending "active" state will be lost (i.e. CONDITION-NOTIFY will
  fail to wake a thread).

Also, what is te purpose of the CONDITION-VARIABLE-LOCK (which is only used by
CONDITION-NOTIFY)?

__Martin




More information about the bordeaux-threads-devel mailing list