diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-06-12 13:39:27 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-06-16 11:49:31 +0900 |
| commit | 25c1df0a95847695c42a7a3c970afa2387fe2d89 (patch) | |
| tree | 771c968f4dee17aee97be34e9ca95607fc3cae66 /cygwin | |
| parent | 2093738aad2f082dd68f8a8a6c3edb11c33ac9bd (diff) | |
The hot thread cannot steal back control when sched->running is an MN
thread, and goes to sleep with sched->runnable_hot_th still pointing to
itself, firing VM_ASSERT(sched->runnable_hot_th != th) at the next
wakeup. Drop the hint before sleeping since the thread is no longer
spinning. On a VM_CHECK_MODE build with RUBY_MN_THREADS=1:
Thread.new { loop {} }
100.times { File.read(IO::NULL) }
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'cygwin')
0 files changed, 0 insertions, 0 deletions
