1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/internal
Benoit Daloze 178c1b0922 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]
2020-09-14 16:44:09 +12:00
..
array.h RARRAY_AREF: convert into an inline function 2020-08-15 12:09:26 +09:00
bignum.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
bits.h
class.h RClassDeprecated: delete 2020-08-27 15:02:52 +09:00
compar.h
compile.h
compilers.h
complex.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
cont.h Make Mutex per-Fiber instead of per-Thread 2020-09-14 16:44:09 +12:00
dir.h
enc.h
encoding.h
enum.h
enumerator.h
error.h
eval.h
file.h
fixnum.h
gc.h Initialize new T_OBJECT as ROBJECT_EMBED 2020-09-02 14:54:29 -07:00
hash.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
imemo.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
inits.h
io.h
load.h
loadpath.h
math.h
missing.h
mjit.h
numeric.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
object.h ROBJECT_IV_INDEX_TBL: convert into an inline function 2020-08-19 14:30:57 +09:00
parse.h
proc.h
process.h
random.h
range.h
rational.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
re.h
sanitizers.h
scheduler.h Make Mutex per-Fiber instead of per-Thread 2020-09-14 16:44:09 +12:00
serial.h
signal.h
static_assert.h
string.h
struct.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
symbol.h
thread.h Standardised scheduler interface. 2020-09-14 16:44:09 +12:00
time.h
transcode.h
util.h
variable.h Introduce Ractor mechanism for parallel execution 2020-09-03 21:11:06 +09:00
vm.h Expose ec -> backtrace (internal) and use it to implement fiber backtrace. 2020-08-18 00:56:35 +12:00
warnings.h