From 416e402cf3d756dcf9c5b10dc7042adf686efacf Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 13 Dec 2020 13:12:18 +0900 Subject: [PATCH] Fixed a suspicious comparison --- ractor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ractor.c b/ractor.c index 4b02b3fcd8..f7be7daea9 100644 --- a/ractor.c +++ b/ractor.c @@ -888,7 +888,7 @@ ractor_select(rb_execution_context_t *ec, const VALUE *rs, int alen, VALUE yield { VM_ASSERT(cr->sync.wait.status == wait_none); cr->sync.wait.status = wait_status; - cr->sync.wait.wakeup_status == wakeup_none; + cr->sync.wait.wakeup_status = wakeup_none; } RACTOR_UNLOCK(cr);