diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-12-22 10:55:29 +1300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-12-22 23:51:02 +1300 |
commit | 93a56a5e98875ed619fe5c29f401a8a43632dbed (patch) | |
tree | 3da57eeba5796cfc832133c4ae992ad434b1cf13 /NEWS.md | |
parent | edb76e8765b7f165237c8ca6155cff1cc0f18cf9 (diff) |
Update fiber scheduler documentation.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3965
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -354,11 +354,12 @@ Outstanding ones only. * Symbol#name has been added, which returns the name of the symbol if it is named. The returned string is frozen. [[Feature #16150]] -* Thread +* Fiber * Introduce Fiber.set_scheduler for intercepting blocking operations and Fiber.scheduler for accessing the current scheduler. See - rdoc-ref:scheduler.md for more details. [[Feature #16786]] + rdoc-ref:fiber.md for more details about what operations are supported and + how to implement the scheduler hooks. [[Feature #16786]] * Fiber.blocking? tells whether the current execution context is blocking. [[Feature #16786]] @@ -366,6 +367,8 @@ Outstanding ones only. * Thread#join invokes the scheduler hooks `block`/`unblock` in a non-blocking execution context. [[Feature #16786]] +* Thread + * Thread.ignore_deadlock accessor has been added for disabling the default deadlock detection, allowing the use of signal handlers to break deadlock. [[Bug #13768]] |