summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-10-28 15:27:00 -0700
committerGitHub <noreply@github.com>2020-10-28 15:27:00 -0700
commitdfb3605bbee9c3cfbc1c354594c367472f29cb35 (patch)
treec45c7551fad0baeb053771468bd534b396bfd4bf /NEWS.md
parenta99f52d5113a601b6d18bd671dfee24266689ffe (diff)
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]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3710 Merged-By: jeremyevans <code@jeremyevans.net>
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 83b7a5af9a..c7a4036a0a 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -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