mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix copy/paste error from 5bb5e706f1
This commit is contained in:
parent
5bb5e706f1
commit
af1926e859
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ sync_wakeup(struct list_head *head, long max)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cur->th->status != THREAD_KILLED) {
|
if (cur->th->status != THREAD_KILLED) {
|
||||||
if (cur->th->scheduler != Qnil) {
|
if (cur->th->scheduler == Qnil) {
|
||||||
rb_threadptr_interrupt(cur->th);
|
rb_threadptr_interrupt(cur->th);
|
||||||
cur->th->status = THREAD_RUNNABLE;
|
cur->th->status = THREAD_RUNNABLE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue