aboutsummaryrefslogtreecommitdiffstats
path: root/scheduler.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for non-blocking `Process.wait`.Samuel Williams2020-12-091-0/+14
|
* Protoized old pre-ANSI K&R style definitionsNobuyoshi Nakada2020-12-051-2/+2
|
* Rename to `Fiber#set_scheduler`.Samuel Williams2020-11-071-0/+49
|
* Added a fallback returnNobuyoshi Nakada2020-10-011-0/+2
|
* break around function definition [ci skip]Nobuyoshi Nakada2020-10-011-13/+26
|
* Don't call `Scheduler#close` if it doesn't exist.Samuel Williams2020-10-011-1/+3
|
* Make `Thread#join` non-blocking.Samuel Williams2020-09-211-2/+2
|
* When setting current thread scheduler to nil, invoke `#close`.Samuel Williams2020-09-211-2/+15
|
* Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock}Benoit Daloze2020-09-171-8/+8
| | | | * Move #kernel_sleep next to #block as it is similar
* Make Mutex per-Fiber instead of per-ThreadBenoit Daloze2020-09-141-0/+14
| | | | | | | | | * 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-4/+14
|
* Standardised scheduler interface.Samuel Williams2020-09-141-0/+71