summaryrefslogtreecommitdiff
path: root/libguile/vm-engine.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2017-01-11 22:17:24 +0100
committerAndy Wingo <wingo@pobox.com>2017-01-11 22:19:31 +0100
commit63bf6ffa0d3cdddf8151cc80ac18fe5dfb614587 (patch)
treef7b4da64cdc26802da3cfe0f7c63e5b0010c3b7b /libguile/vm-engine.c
parent7e93950552cd9e85a1f3eb73faf16e8423b0fbbe (diff)
Protect call-with-new-thread data from GC.
* libguile/threads.c (struct launch_data): Add prev/next pointers. (protected_launch_data, protected_launch_data_lock): New static vars. (protect_launch_data, unprotect_launch_data): New functions. (really_launch, scm_sys_call_with_new_thread): Preserve launch data from GC. Thanks to Linas Vepstas for the report!
Diffstat (limited to 'libguile/vm-engine.c')
0 files changed, 0 insertions, 0 deletions