aboutsummaryrefslogtreecommitdiffstats
path: root/internal/scheduler.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for non-blocking `Process.wait`.Samuel Williams2020-12-091-0/+3
|
* Rename to `Fiber#set_scheduler`.Samuel Williams2020-11-071-0/+6
|
* Make `Thread#join` non-blocking.Samuel Williams2020-09-211-1/+1
|
* When setting current thread scheduler to nil, invoke `#close`.Samuel Williams2020-09-211-0/+2
|
* Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock}Benoit Daloze2020-09-171-2/+2
| | | | * Move #kernel_sleep next to #block as it is similar
* Make Mutex per-Fiber instead of per-ThreadBenoit Daloze2020-09-141-0/+3
| | | | | | | | | * Enables Mutex to be used as synchronization between multiple Fibers of the same Thread. * With a Fiber scheduler we can yield to another Fiber on contended Mutex#lock instead of blocking the entire thread. * This also makes the behavior of Mutex consistent across CRuby, JRuby and TruffleRuby. * [Feature #16792]
* Add support for hooking `IO#read`.Samuel Williams2020-09-141-2/+5
|
* Standardised scheduler interface.Samuel Williams2020-09-141-0/+27