* coop.c (coop_condition_variable_wait): Removed
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 19 Nov 1998 08:15:22 +0000 (08:15 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 19 Nov 1998 08:15:22 +0000 (08:15 +0000)
commitb322f09ab8ea89f5c78aede7a2f524025be62a42
tree963685185d723db0169d5f410ec9dae8490f27ea
parent3b2ee8bcdf37b11c6ce09a66ec26cd60ce0d9078
* coop.c (coop_condition_variable_wait): Removed
(coop_condition_variable_wait_mutex): Folded logic of
coop_mutex_unlock into coop_condition_variable_wait_mutex to
prevent condvar signal lossage.  Previously, another thread could
start to run after unlocking the mutex but before putting the
current thread on the wait queue.  If that thread then would
signal the first, the signal would be lost.  (Thanks to Christian
Lynbech.)
THANKS
libguile/ChangeLog
libguile/coop.c