Age | Commit message (Collapse) | Author |
|
* Now that it works correctly.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3742
|
|
|
|
It's implementation is equivalent to:
Thread.current.scheduler unless Thread.current.blocking?
Notes:
Merged: https://github.com/ruby/ruby/pull/3610
|
|
* Previously this could lead to an invalid waiter entry and then trying
to wake up that waiter would result in various issues in rb_mutex_unlock_th().
|
|
* It would hit "[BUG] unexpected THREAD_STOPPED" before.
|
|
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.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3434
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3434
|
|
* 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
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3434
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3110
|