diff options
author | Benoit Daloze <eregontp@gmail.com> | 2020-09-18 10:39:27 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2020-09-18 10:39:27 +0200 |
commit | 5bb5e706f1d310a467075630145d2cc277045765 (patch) | |
tree | c15fb07d222de8a3ea271542345e2984c66e664b /coroutine/x86 | |
parent | 305c4306032c4713f99e668d460bc1bbd53f39bf (diff) |
Only interrupt when there is no scheduler in sync_wakeup()
* When there is a scheduler, the Fiber that would be blocked has already
been rescheduled and there is no point to interrupt something else.
That blocked Fiber will be rescheduled as the next call to the scheduler
(e.g., IO, sleep, other blocking sync).
* See discussion on https://github.com/ruby/ruby/commit/d01954632d
Diffstat (limited to 'coroutine/x86')
0 files changed, 0 insertions, 0 deletions