Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Thread.ignore_deadlock

Thread.ignore_deadlock → true or false

Returns the status of the global “ignore deadlock” condition. The default is false, so that deadlock conditions are not ignored.

See also ::ignore_deadlock=.

Ruby version changes

  1. 3.0
    • Thread.ignore_deadlock accessor has been added for disabling the default deadlock detection, allowing the use of signal handlers to break deadlock. [Bug #13768]

See also .ignore_deadlock= .handle_interrupt .fork .kill also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0