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
This commit is contained in:
parent
89db85f716
commit
2d4c248d77
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user