diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2022-07-07 15:20:35 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2022-07-07 17:49:00 +0200 |
| commit | 587d2d199b3f783d03266d42d066949f8a4824d3 (patch) | |
| tree | 6977cca9dc954a2fa4a87dc1b7f1f0aa5bc8786b /spec/ruby/core/kernel/exec_spec.rb | |
| parent | 61c7ae4d27d44b19b39fa240cf7edda2eeefc92d (diff) | |
thread_pthread.c: call SUSPENDED event when entering native_sleep
[Bug #18900]
Thread#join and a few other codepaths are using native sleep as
a way to suspend the current thread. So we should call the relevant
hook when this happen, otherwise some thread may transition
directly from `RESUMED` to `READY`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6101
Diffstat (limited to 'spec/ruby/core/kernel/exec_spec.rb')
0 files changed, 0 insertions, 0 deletions
