diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-04-09 04:45:49 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-04-09 12:51:51 +0900 |
commit | fd0222caedf1be56faa004656bbf145522abbe68 (patch) | |
tree | e20c3cdb107770bd1e65f79b33a4b67c9d415167 /bootstraptest/test_class.rb | |
parent | d2bb2e066b5a914283dd3ea473fc1762183af013 (diff) | |
download | ruby-fd0222caedf1be56faa004656bbf145522abbe68.tar.gz |
should check pending interrupts correctly.
rb_uninterruptible() disables any interrupts using handle_interrupt
feature (This function is used by `p`).
After this function, pending interrupts should be checked correctly,
however there is no chance to setup interrupt flag of working
threads, it means that nobody checks pending interrupts.
For example, it ignores terminate signal delivered at the end
of main thread and program can't stop.
This patch set interrupt flag if there are pending interrupts.
Diffstat (limited to 'bootstraptest/test_class.rb')
0 files changed, 0 insertions, 0 deletions