summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2020-10-03 14:05:15 +0200
committerBenoit Daloze <eregontp@gmail.com>2020-10-10 12:48:09 +0200
commitbfc1c7205d9592b5b5be3b351fbf7b9ca8c537b6 (patch)
tree900787ffb208d56d3e120714b8d235d6f6d6ca16 /thread.c
parent9eccf0711fedb7be90b2e4995845eaafacb0c6dd (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 6cc0a92..40c84f8 100644
--- a/thread.c
+++ b/thread.c
@@ -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