diff options
author | Benoit Daloze <[email protected]> | 2020-10-03 14:05:15 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2020-10-10 12:48:09 +0200 |
commit | bfc1c7205d9592b5b5be3b351fbf7b9ca8c537b6 (patch) | |
tree | 900787ffb208d56d3e120714b8d235d6f6d6ca16 /thread.c | |
parent | 9eccf0711fedb7be90b2e4995845eaafacb0c6dd (diff) |
Add Ractor#receive and Ractor.receive and use it in all places
* Keep Ractor#recv/Ractor.recv as an alias for now.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3626
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -720,7 +720,7 @@ thread_do_start_proc(rb_thread_t *th) VM_ASSERT(FIXNUM_P(args)); args_len = FIX2INT(args); args_ptr = ALLOCA_N(VALUE, args_len); - rb_ractor_recv_parameters(th->ec, th->ractor, args_len, (VALUE *)args_ptr); + rb_ractor_receive_parameters(th->ec, th->ractor, args_len, (VALUE *)args_ptr); vm_check_ints_blocking(th->ec); // kick thread |