Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Protoized old pre-ANSI K&R style definitions | Nobuyoshi Nakada | 2020-12-05 | 1 | -2/+2 |
| | |||||
* | Rename to `Fiber#set_scheduler`. | Samuel Williams | 2020-11-07 | 1 | -0/+49 |
| | |||||
* | Added a fallback return | Nobuyoshi Nakada | 2020-10-01 | 1 | -0/+2 |
| | |||||
* | break around function definition [ci skip] | Nobuyoshi Nakada | 2020-10-01 | 1 | -13/+26 |
| | |||||
* | Don't call `Scheduler#close` if it doesn't exist. | Samuel Williams | 2020-10-01 | 1 | -1/+3 |
| | |||||
* | Make `Thread#join` non-blocking. | Samuel Williams | 2020-09-21 | 1 | -2/+2 |
| | |||||
* | When setting current thread scheduler to nil, invoke `#close`. | Samuel Williams | 2020-09-21 | 1 | -2/+15 |
| | |||||
* | Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock} | Benoit Daloze | 2020-09-17 | 1 | -8/+8 |
| | | | | * Move #kernel_sleep next to #block as it is similar | ||||
* | Make Mutex per-Fiber instead of per-Thread | Benoit Daloze | 2020-09-14 | 1 | -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 Williams | 2020-09-14 | 1 | -4/+14 |
| | |||||
* | Standardised scheduler interface. | Samuel Williams | 2020-09-14 | 1 | -0/+71 |