ruby-changes:63010
From: Benoit <ko1@a...>
Date: Fri, 18 Sep 2020 18:14:24 +0900 (JST)
Subject: [ruby-changes:63010] af1926e859 (master): Fix copy/paste error from 5bb5e706f1d310a467075630145d2cc277045765
https://git.ruby-lang.org/ruby.git/commit/?id=af1926e859 From af1926e85915a11d606e8c3cf897fe28d6d2f1c5 Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Fri, 18 Sep 2020 11:11:47 +0200 Subject: Fix copy/paste error from 5bb5e706f1d310a467075630145d2cc277045765 diff --git a/thread_sync.c b/thread_sync.c index 748ccbd..94e4d35 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -34,7 +34,7 @@ sync_wakeup(struct list_head *head, long max) https://github.com/ruby/ruby/blob/trunk/thread_sync.c#L34 } 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; } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/