Fix copy/paste error from 5bb5e706f1d310a467075630145d2cc277045765
This commit is contained in:
parent
5bb5e706f1
commit
af1926e859
@ -34,7 +34,7 @@ sync_wakeup(struct list_head *head, long max)
|
||||
}
|
||||
|
||||
if (cur->th->status != THREAD_KILLED) {
|
||||
if (cur->th->scheduler != Qnil) {
|
||||
if (cur->th->scheduler == Qnil) {
|
||||
rb_threadptr_interrupt(cur->th);
|
||||
cur->th->status = THREAD_RUNNABLE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user