summaryrefslogtreecommitdiff
path: root/libguile/async.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-02-17 11:35:02 +0100
committerAndy Wingo <wingo@pobox.com>2012-02-17 12:09:28 +0100
commit2f745b64a1eb06e9e175a1b497d5270bebff9097 (patch)
tree56706ae52f6e7f4097c8e4e2b4771b27e2525a19 /libguile/async.c
parentf609480611cfd1585409fd6b1b90beb730b026cf (diff)
downloadguile-2f745b64a1eb06e9e175a1b497d5270bebff9097.tar.gz
add pthread_atfork helpers to our threading shims
* libguile/null-threads.h: * libguile/pthread-threads.h (SCM_DEFINE_ATFORK_HANDLERS_FOR_MUTEX) (scm_i_pthread_atfork): Define a pthread_atfork shim, and a helper to declare procedures to lock and unlock a mutex. * libguile/threads.h (SCM_PTHREAD_ATFORK_LOCK_STATIC_MUTEX): New macro, causes the snarfer to emit a pthread_atfork call to lock a mutex, if threads are enabled.
Diffstat (limited to 'libguile/async.c')
0 files changed, 0 insertions, 0 deletions