| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-12-09 | Add support for non-blocking `Process.wait`. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3853 | |||
| 2020-11-08 | Urgent notification pipe has same lifetime as scheduler. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3743 | |||
| 2020-11-08 | Defer `kernel_sleep` to `block` to avoid exiting the event loop when ↵ | Samuel Williams | |
| duration is nil. Notes: Merged: https://github.com/ruby/ruby/pull/3743 | |||
| 2020-10-01 | Raise an exception if the scheduler was already closed. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3612 | |||
| 2020-09-24 | test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized" | Yusuke Endoh | |
| 2020-09-21 | Simplify the implementation of Scheduler#block | Benoit Daloze | |
| * This shows block() with a timeout is similar to #kernel_sleep and also does not need to change `@blocking`. | |||
| 2020-09-21 | Make `Thread#join` non-blocking. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3558 | |||
| 2020-09-21 | When setting current thread scheduler to nil, invoke `#close`. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3557 | |||
| 2020-09-17 | Add missing goto found; | Benoit Daloze | |
| * To still remove the lock from the Thread's list of acquired locks. * Also to not wake up other waiters and preserve blocking behavior. | |||
| 2020-09-17 | Document the various scheduler hooks | Benoit Daloze | |
| 2020-09-17 | Call scheduler.block instead of scheduler.kernel_sleep for blocking ↵ | Benoit Daloze | |
| Queue/SizedQueue operations * scheduler.unblock was already already called before but with no corresponding scheduler.block * add test that Queue#pop makes the scheduler wait until it gets an element. | |||
| 2020-09-17 | Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock} | Benoit Daloze | |
| * Move #kernel_sleep next to #block as it is similar | |||
| 2020-09-17 | Use a similar pattern for waiting and ready | Benoit Daloze | |
| 2020-09-16 | Add a note at the top of the test scheduler | Benoit Daloze | |
| 2020-09-14 | Add support for ConditionVariable. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3434 | |||
| 2020-09-14 | Improve handling of urgent notification pipe. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3434 | |||
| 2020-09-14 | Make Mutex per-Fiber instead of per-Thread | Benoit Daloze | |
| * 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] Notes: Merged: https://github.com/ruby/ruby/pull/3434 | |||
| 2020-09-14 | Standardised scheduler interface. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3434 | |||
| 2020-09-14 | Simplify bitmasks for IO events. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3434 | |||
| 2020-07-20 | Improve consistency of tests. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3323 | |||
| 2020-05-15 | Move `test/scheduler` -> `test/fiber` [Bug #16892][ruby-core:98366]. | Samuel Williams | |
| Notes: Merged: https://github.com/ruby/ruby/pull/3110 | |||
