Commit aa7406d
committed
Allow checking interrupts when VM lock held
It was too restrictive to disallow this case, because we can raise a
ruby error while holding the VM lock, which calls initialize on the
error object, which can enter the interrupt checks. So intead, we
just don't switch to another thread if the VM lock is held.1 parent 1fa307d commit aa7406d
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2596 | 2596 | | |
2597 | 2597 | | |
2598 | 2598 | | |
2599 | | - | |
2600 | 2599 | | |
2601 | 2600 | | |
2602 | 2601 | | |
| |||
2677 | 2676 | | |
2678 | 2677 | | |
2679 | 2678 | | |
2680 | | - | |
| 2679 | + | |
2681 | 2680 | | |
2682 | 2681 | | |
2683 | 2682 | | |
| |||
0 commit comments