diff options
author | Andy Wingo <wingo@pobox.com> | 2012-02-23 14:18:57 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-02-23 14:18:57 +0100 |
commit | 2bf0e122f0e9937d1a267c2c4825efe357a72541 (patch) | |
tree | 7a2fee9193543145df2600a421970250405f9be9 /libguile/pthread-threads.h | |
parent | 81b80b9610798ea910daad78cf525dec211639f9 (diff) | |
download | guile-2bf0e122f0e9937d1a267c2c4825efe357a72541.tar.gz |
Revert "add pthread_atfork helpers to our threading shims"
This reverts commit 2f745b64a1eb06e9e175a1b497d5270bebff9097.
Diffstat (limited to 'libguile/pthread-threads.h')
-rw-r--r-- | libguile/pthread-threads.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libguile/pthread-threads.h b/libguile/pthread-threads.h index 63b47b222..b5fae4e89 100644 --- a/libguile/pthread-threads.h +++ b/libguile/pthread-threads.h @@ -3,7 +3,7 @@ #ifndef SCM_PTHREADS_THREADS_H #define SCM_PTHREADS_THREADS_H -/* Copyright (C) 2002, 2005, 2006, 2011, 2012 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2005, 2006, 2011 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -97,14 +97,6 @@ extern pthread_mutexattr_t scm_i_pthread_mutexattr_recursive[1]; #define scm_i_scm_pthread_cond_wait scm_pthread_cond_wait #define scm_i_scm_pthread_cond_timedwait scm_pthread_cond_timedwait -#define SCM_DEFINE_ATFORK_HANDLERS_FOR_MUTEX(m,lock,unlock) \ - static void lock (void) { pthread_mutex_lock (m); } \ - static void unlock (void) { pthread_mutex_unlock (m); } - -/* noop */ -#define scm_i_pthread_atfork(pre,parent,child) \ - pthread_atfork (pre, parent, child) - #endif /* SCM_PTHREADS_THREADS_H */ /* |