diff options
| author | NARUSE, Yui <nurse@users.noreply.github.com> | 2024-03-20 20:05:21 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 11:05:21 +0000 |
| commit | 0793cbbfde261f4fc9bf7045594d62a21e391811 (patch) | |
| tree | 619ca8d7c739f8ef46dd52e6c7b7f50a8a132a10 /spec/ruby/core/array/shared | |
| parent | 23bfe6218a690bbde5143e26bc6fb243347fb4b3 (diff) | |
merge revision(s) ef276858d9295208add48e27208c69184dc50472: [Backport #20197] (#10296)
Trigger postponed jobs on running_ec if that is available
Currently, any postponed job triggered from a non-ruby thread gets sent
to the main thread, but if the main thread is sleeping it won't be
checking ints. Instead, we should try and interrupt running_ec if that's
possible, and only fall back to the main thread if it's not.
[Bug #20197]
---
ractor.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Diffstat (limited to 'spec/ruby/core/array/shared')
0 files changed, 0 insertions, 0 deletions
