diff options
Diffstat (limited to 'thread_sync.c')
-rw-r--r-- | thread_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_sync.c b/thread_sync.c index 86387ac2e7..e62e7a4b44 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -30,7 +30,7 @@ sync_wakeup(struct list_head *head, long max) list_del_init(&cur->node); if (cur->th->status != THREAD_KILLED) { - + if (cur->th->scheduler != Qnil) { rb_scheduler_unblock(cur->th->scheduler, cur->self, rb_fiberptr_self(cur->fiber)); } else { |