diff options
author | Samuel Williams <[email protected]> | 2020-10-16 14:25:58 +1300 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2020-11-07 23:39:50 +1300 |
commit | a08ee8330d3d739467bfa34deeb797d83e59ed3c (patch) | |
tree | d14bc8f1417f39f9924b93343ddfd6451b3db8c3 /NEWS.md | |
parent | 656d4cddaf2debd0c66b9bd980f51bcbf0849bd6 (diff) |
Rename to `Fiber#set_scheduler`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3742
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -198,10 +198,10 @@ Outstanding ones only. * Thread - * Introduce `Thread#scheduler` for intercepting blocking operations and - `Thread.scheduler` for accessing the current scheduler. See + * Introduce `Fiber.set_scheduler` for intercepting blocking operations and + `Fiber.scheduler` for accessing the current scheduler. See doc/scheduler.md for more details. [[Feature #16786]] - * `Thread#blocking?` tells whether the current execution context is + * `Fiber.blocking?` tells whether the current execution context is blocking. [[Feature #16786]] * `Thread#join` invokes the scheduler hooks `block`/`unblock` in a non-blocking execution context. [[Feature #16786]] |