diff options
author | Neil Jerram <neil@ossau.uklinux.net> | 2009-05-20 21:55:35 +0100 |
---|---|---|
committer | Neil Jerram <neil@ossau.uklinux.net> | 2009-05-27 22:43:24 +0100 |
commit | 21346c4f5e30910e3950c40bc267bb4249973240 (patch) | |
tree | 272ae629e0abb7cc7203f1296ddd30bbdd0629f5 /lib/string.in.h | |
parent | 4201062de5e4f2eb7b2207a3c09e02a12b9bda50 (diff) | |
download | guile-21346c4f5e30910e3950c40bc267bb4249973240.tar.gz |
Remove possible deadlock in scm_join_thread_timed
* libguile/threads.c (scm_join_thread_timed): Recheck t->exited before
looping round to call block_self again, in case thread t has now
exited.
* test-suite/tests/threads.test ("don't hang when joined thread
terminates in SCM_TICK"): New test.
Diffstat (limited to 'lib/string.in.h')
0 files changed, 0 insertions, 0 deletions