Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
Like
«
Previous
|
Next
»
Revision 178c1b09
Added by
Eregon (Benoit Daloze)
almost 5 years
ago
ID
178c1b0922dc727897d81d7cfe9c97d5ffa97fd9
Parent
9e0a48c7
Child
3dc0fc11
Make Mutex per-Fiber instead of per-Thread
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
]
Related issues
Feature #16792
: Make Mutex held per Fiber instead of per Thread
Loading...
Make Mutex per-Fiber instead of per-Thread
of the same Thread.
Mutex#lock instead of blocking the entire thread.