ruby-changes:54161
From: normal <ko1@a...>
Date: Thu, 13 Dec 2018 18:41:22 +0900 (JST)
Subject: [ruby-changes:54161] normal:r66382 (trunk): thread_pthread.c (native_ppoll_sleep): drop ubf_select references
normal 2018-12-13 18:41:17 +0900 (Thu, 13 Dec 2018) New Revision: 66382 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66382 Log: thread_pthread.c (native_ppoll_sleep): drop ubf_select references We don't use ubf_select after r65495 / 5de7b3b4f27df747899c243adbb10c9799ad1399 ("thread_pthread.c (native_ppoll_sleep): new eventfd (or pipe) for ubf"), so we don't need to unregister the thread from the ubf list. Modified files: trunk/thread_pthread.c Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 66381) +++ thread_pthread.c (revision 66382) @@ -2041,7 +2041,7 @@ ubf_ppoll_sleep(void *ignore) https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L2041 * cannot safely read from it. However, it can be woken up in * 4 ways: * - * 1) ubf_select (from another thread) + * 1) ubf_ppoll_sleep (from another thread) * 2) rb_thread_wakeup_timer_thread (from signal handler) * 3) any unmasked signal hitting the process * 4) periodic ubf timer wakeups (after 3) @@ -2074,7 +2074,6 @@ native_ppoll_sleep(rb_thread_t *th, rb_h https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L2074 */ } unblock_function_clear(th); - unregister_ubf_list(th); GVL_UNLOCK_END(th); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/