mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 2 deletions
|
@ -1315,8 +1315,7 @@ static void
|
|||
ubf_wakeup_thread(rb_thread_t *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);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue