Actions
Bug #10595
closedinterrupts not handled while finalizers running
Bug #10595:
interrupts not handled while finalizers running
Description
Originally noted in [ruby-core:66635]
Trying to Ctrl-C something like the following loop is not always successful:
The Interrupt is created and raised, but lost during the postponed
job processing (rb_postponed_job_flush).
Trying to mask out all interrupt flags (instead of just
th->interrupt_mask |= POSTPONED_JOB_INTERRUPT_MASK) allows the
interrupt to be handled, but this is not suitable for expensive
finalizers.
So I haven't figured out how to fix this, yet... Help appreciated, thanks.
Actions