From 2d4c248d77fc1918536fc59befe67d9bcbb47097 Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 13 Dec 2018 09:41:17 +0000 Subject: 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_pthread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'thread_pthread.c') diff --git a/thread_pthread.c b/thread_pthread.c index f80776dbc8..4c141d7af5 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -2041,7 +2041,7 @@ ubf_ppoll_sleep(void *ignore) * 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_hrtime_t *rel) */ } unblock_function_clear(th); - unregister_ubf_list(th); GVL_UNLOCK_END(th); } -- cgit v1.2.1