diff options
| author | Luke Gruber <luke.gruber@shopify.com> | 2026-02-06 14:26:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-06 14:26:07 -0500 |
| commit | 7b3370a5579956404d742a2e104d72e7c89480e4 (patch) | |
| tree | aef21dbdc1071771da877a752d9e8a25bdf315a5 /spec/ruby | |
| parent | 130c37d6e60b0b654b93cb09c37b18718e35c0b9 (diff) | |
Wake timer to create new SNT when needed for dedicated task (#16009)
When removing a thread from `running_threads`, if we're on a shared
native thread and we're running a dedicated task, we need to wake
the timer thread so it can create a new SNT if necessary. We only
do this if it's waiting forever without the 10ms quantum timeout
for now, because max 10ms of wait is considered "good enough".
In the future, perhaps we can force the timer thread to wake if this
becomes an issue (`timer_thread_wakeup_force`).
Fixes [Bug #21504]
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
