summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-05 13:26:18 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-05 13:26:18 +0000
commitb5d612e0df4b77f7918323d25d7b46ccdd2756d9 (patch)
treed3be813b243a9dda07f44d6923c3ee8daa620059 /thread_pthread.c
parent66fc78d20737cc78c244809395b1f185748763ef (diff)
* thread_pthread.c (native_mutex_reinitialize_atfork): removed
unused macro. * thread_win32.c (native_mutex_reinitialize_atfork): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 4161f663db..f503c29323 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -29,11 +29,6 @@ static void native_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
static void native_cond_initialize(pthread_cond_t *cond);
static void native_cond_destroy(pthread_cond_t *cond);
-#define native_mutex_reinitialize_atfork(lock) (\
- native_mutex_unlock(lock), \
- native_mutex_initialize(lock), \
- native_mutex_lock(lock))
-
#define GVL_SIMPLE_LOCK 0
#define GVL_DEBUG 0