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