From bfc1c7205d9592b5b5be3b351fbf7b9ca8c537b6 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 3 Oct 2020 14:05:15 +0200 Subject: Add Ractor#receive and Ractor.receive and use it in all places * Keep Ractor#recv/Ractor.recv as an alias for now. --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 6cc0a9227e..40c84f8e55 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 -- cgit v1.2.3