mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() * 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] |
||
---|---|---|
.. | ||
lock_spec.rb | ||
locked_spec.rb | ||
owned_spec.rb | ||
sleep_spec.rb | ||
synchronize_spec.rb | ||
try_lock_spec.rb | ||
unlock_spec.rb |