aboutsummaryrefslogtreecommitdiffstats
path: root/thread_sync.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-28 06:00:39 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-28 06:00:39 +0000
commit0d77b73db7851dc53520504d047b5d4ea078e28e (patch)
treef3283418a4c05c97a4cbddf076f6f728aafb8651 /thread_sync.c
parentf114089585d486920f53c0c4cb92d73dc4ed577c (diff)
downloadruby-0d77b73db7851dc53520504d047b5d4ea078e28e.tar.gz
thread_sync.c: remove unused list_heads
I forgot to clean these up in r63215 * thread_sync.c (szqueue_list, queue_list, condvar_list): remove git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
-rw-r--r--thread_sync.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/thread_sync.c b/thread_sync.c
index 0b44365eaf..5b6ff80d56 100644
--- a/thread_sync.c
+++ b/thread_sync.c
@@ -4,14 +4,6 @@
static VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable;
static VALUE rb_eClosedQueueError;
-/*
- * keep these globally so we can walk and reinitialize them at fork
- * in the child process
- */
-static LIST_HEAD(szqueue_list);
-static LIST_HEAD(queue_list);
-static LIST_HEAD(condvar_list);
-
/* sync_waiter is always on-stack */
struct sync_waiter {
rb_thread_t *th;