summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>1997-07-04 21:44:59 +0000
committerMarius Vollmer <mvo@zagadka.de>1997-07-04 21:44:59 +0000
commit1500e3ceb446761aa981e2610a147a2266b8e954 (patch)
tree10cf0cac9afbf1340275f55907f3c264be28c409
parent780b12da583e3c45997e8eb4e99ac1756cd7acb1 (diff)
downloadguile-1500e3ceb446761aa981e2610a147a2266b8e954.tar.gz
* coop-threads.c (scm_wait_condition_variable): Lock mutex again
after waiting.
-rw-r--r--libguile/coop-threads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/coop-threads.c b/libguile/coop-threads.c
index 6570e9bbe..0d88f7ca4 100644
--- a/libguile/coop-threads.c
+++ b/libguile/coop-threads.c
@@ -418,6 +418,7 @@ scm_wait_condition_variable (c, m)
s_wait_condition_variable);
coop_mutex_unlock (SCM_MUTEX_DATA (m));
coop_condition_variable_wait (SCM_CONDVAR_DATA (c));
+ coop_mutex_lock (SCM_MUTEX_DATA (m));
return SCM_BOOL_T;
}