ruby-changes:51074
From: normal <ko1@a...>
Date: Sat, 28 Apr 2018 15:00:45 +0900 (JST)
Subject: [ruby-changes:51074] normal:r63281 (trunk): thread_sync.c: remove unused list_heads
normal 2018-04-28 15:00:39 +0900 (Sat, 28 Apr 2018) New Revision: 63281 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63281 Log: 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 Modified files: trunk/thread_sync.c Index: thread_sync.c =================================================================== --- thread_sync.c (revision 63280) +++ thread_sync.c (revision 63281) @@ -4,14 +4,6 @@ https://github.com/ruby/ruby/blob/trunk/thread_sync.c#L4 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/