diff options
author | Andy Wingo <wingo@pobox.com> | 2016-10-25 22:24:19 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-10-26 22:50:26 +0200 |
commit | f3bfe29235199e12b961c3fd1fa92666ad031d0d (patch) | |
tree | 59da2a9137abaaeaee797ee56e4bbfb31fbf00df /libguile/atomics-internal.h | |
parent | 9807d2dced107aecfb85502e9264e63f74214499 (diff) | |
download | guile-f3bfe29235199e12b961c3fd1fa92666ad031d0d.tar.gz |
Move call-with-new-thread to Scheme
* libguile/threads.c (scm_call_with_new_thread): Trampoline to Scheme.
(launch_data, really_launch, scm_sys_call_with_new_thread): Simplify.
(scm_init_ice_9_threads): Capture call-with-new-thread variable.
* module/ice-9/threads.scm (call-with-new-thread): Add implementation in
Scheme. Should allow for easier cancel-thread via prompt abort.
Diffstat (limited to 'libguile/atomics-internal.h')
0 files changed, 0 insertions, 0 deletions