mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixed a suspicious comparison
This commit is contained in:
parent
97e6c28db4
commit
416e402cf3
1 changed files with 1 additions and 1 deletions
2
ractor.c
2
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);
|
VM_ASSERT(cr->sync.wait.status == wait_none);
|
||||||
cr->sync.wait.status = wait_status;
|
cr->sync.wait.status = wait_status;
|
||||||
cr->sync.wait.wakeup_status == wakeup_none;
|
cr->sync.wait.wakeup_status = wakeup_none;
|
||||||
}
|
}
|
||||||
RACTOR_UNLOCK(cr);
|
RACTOR_UNLOCK(cr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue