thread_pthread.c (ubf_wakeup_thread): `th' is never NULL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
70a8a6d3eb
commit
894847a5de
@ -1315,7 +1315,6 @@ static void
|
|||||||
ubf_wakeup_thread(rb_thread_t *th)
|
ubf_wakeup_thread(rb_thread_t *th)
|
||||||
{
|
{
|
||||||
thread_debug("thread_wait_queue_wakeup (%"PRI_THREAD_ID")\n", thread_id_str(th));
|
thread_debug("thread_wait_queue_wakeup (%"PRI_THREAD_ID")\n", thread_id_str(th));
|
||||||
if (th)
|
|
||||||
pthread_kill(th->thread_id, SIGVTALRM);
|
pthread_kill(th->thread_id, SIGVTALRM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user