diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-10-28 15:27:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 15:27:00 -0700 |
commit | dfb3605bbee9c3cfbc1c354594c367472f29cb35 (patch) | |
tree | c45c7551fad0baeb053771468bd534b396bfd4bf /NEWS.md | |
parent | a99f52d5113a601b6d18bd671dfee24266689ffe (diff) | |
download | ruby-dfb3605bbee9c3cfbc1c354594c367472f29cb35.tar.gz |
Add Thread.ignore_deadlock accessor
Setting this to true disables the deadlock detector. It should
only be used in cases where the deadlock could be broken via some
external means, such as via a signal.
Now that $SAFE is no longer used, replace the safe_level_ VM flag
with ignore_deadlock for storing the setting.
Fixes [Bug #13768]
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -178,6 +178,9 @@ Outstanding ones only. blocking. [[Feature #16786]] * `Thread#join` invokes the scheduler hooks `block`/`unblock` in a non-blocking execution context. [[Feature #16786]] + * `Thread.ignore_deadlock` accessor for disabling the default deadlock + detection, allowing the use of signal handlers to break deadlock. + [[Bug #13768]] * Mutex |