aboutsummaryrefslogtreecommitdiffstats
path: root/ractor_core.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2023-03-30 02:38:08 +0900
committerKoichi Sasada <ko1@atdot.net>2023-03-30 14:56:37 +0900
commit30b43f4f1a37641edc0b146b8a648686a65a3aef (patch)
treecfb8eadc793d0590a1a01459279f0400ab9bda81 /ractor_core.h
parent94e41822679ebd269564ad10d366596e1514d4ef (diff)
downloadruby-30b43f4f1a37641edc0b146b8a648686a65a3aef.tar.gz
`rb_ractor_thread_list()` only for current ractor
so that no need to lock the ractor.
Diffstat (limited to 'ractor_core.h')
-rw-r--r--ractor_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor_core.h b/ractor_core.h
index 1b9003b6d8..db5b0c77c7 100644
--- a/ractor_core.h
+++ b/ractor_core.h
@@ -209,7 +209,7 @@ void rb_ractor_send_parameters(rb_execution_context_t *ec, rb_ractor_t *g, VALUE
VALUE rb_thread_create_ractor(rb_ractor_t *g, VALUE args, VALUE proc); // defined in thread.c
int rb_ractor_living_thread_num(const rb_ractor_t *);
-VALUE rb_ractor_thread_list(rb_ractor_t *r);
+VALUE rb_ractor_thread_list(void);
bool rb_ractor_p(VALUE rv);
void rb_ractor_living_threads_init(rb_ractor_t *r);