summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-13 09:41:17 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-13 09:41:17 +0000
commit2d4c248d77fc1918536fc59befe67d9bcbb47097 (patch)
tree1e6e053b0bbb1495ee9252c6c1c5c2547944932d /thread_pthread.c
parent89db85f71633e95cbaadd55b1100c01738c92557 (diff)
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
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c3
1 files changed, 1 insertions, 2 deletions
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);
}