summaryrefslogtreecommitdiff
path: root/libguile/strings.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-02-17 11:47:52 +0100
committerAndy Wingo <wingo@pobox.com>2012-02-17 12:09:28 +0100
commitf609480611cfd1585409fd6b1b90beb730b026cf (patch)
treeae054e365a2980bf9836447ba4cd9bf6c0f88e72 /libguile/strings.c
parent58565208bdfe7544f7e4da8762e4c331171f9876 (diff)
downloadguile-f609480611cfd1585409fd6b1b90beb730b026cf.tar.gz
with a threaded guile, lock weak sets and tables during a fork
* libguile/weak-set.c (make_weak_set): * libguile/weak-table.c (make_weak_table): If we have a threaded Guile, * keep a weak set (table) of weak sets (tables). Use this and the pthread_atfork mechanism to lock and unlock weak sets and weak tables during a fork(). * libguile/weak-set.h (scm_weak_set_prehistory): New internal API. * libguile/init.c: Add call to scm_weak_set_prehistory().
Diffstat (limited to 'libguile/strings.c')
0 files changed, 0 insertions, 0 deletions