Bug #14868
closed
[PATCH] process.c (ruby_fork_ruby): fix race in signal handling
Added by normalperson (Eric Wong) over 6 years ago.
Updated over 6 years ago.
Description
process.c (ruby_fork_ruby): fix race in signal handling
We must block signals before stopping timer-thread, otherwise
signal handing can be delayed until another signal is
received after timer-thread is restarted.
Refixes [Bug #13916]
Files
- Status changed from Open to Closed
Applied in changeset trunk|r63741.
process.c (ruby_fork_ruby): fix race in signal handling
We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another signal
is received after timer-thread is restarted.
[ruby-core:87622] [Bug #14868] [Bug #13916]
- Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: DONE, 2.5: REQUIRED
ruby_2_4 r64130 merged revision(s) 63741.
- Backport changed from 2.3: REQUIRED, 2.4: DONE, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: DONE, 2.5: DONE
ruby_2_5 r64439 merged revision(s) 63741.
Also available in: Atom
PDF
Like0
Like0Like0Like0