diff options
author | Andy Wingo <wingo@pobox.com> | 2016-11-14 21:35:44 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-11-14 21:50:41 +0100 |
commit | a52144002911f217e03155336ce0980ac8b5b2af (patch) | |
tree | 4328e458705077ed642b8dfd9477906d1936111a /libguile/async.c | |
parent | e447258c3f204de22c221ec153850db052acc437 (diff) | |
download | guile-a52144002911f217e03155336ce0980ac8b5b2af.tar.gz |
join-thread in Scheme
* module/ice-9/threads.scm (join-thread): Implement in Scheme.
(call-with-new-thread): Arrange to record values in a weak table and
signal the join cond.
(with-mutex): Move up definition; call-with-new-thread needs it. (How
was this working before?)
* libguile/threads.c (guilify_self_1, guilify_self_2, do_thread_exit):
Remove join queue management.
* libguile/threads.c (scm_join_thread, scm_join_thread_timed): Call out
to Scheme.
(scm_init_ice_9_threads): Capture join-thread var.
Diffstat (limited to 'libguile/async.c')
0 files changed, 0 insertions, 0 deletions