summaryrefslogtreecommitdiff
path: root/ractor_core.h
diff options
context:
space:
mode:
authorS.H <gamelinks007@gmail.com>2021-10-04 08:21:40 +0900
committerGitHub <noreply@github.com>2021-10-04 08:21:40 +0900
commite54d1e99e96fd2bbf6154f7eb2928b1e2d63596e (patch)
treece30d7001c6a0a7e84824b5c5a6c98ea4ca621fb /ractor_core.h
parent3f5b52bfda3dff7d7ec0cc1909428c45d26b0d72 (diff)
Move rb_ractor_p definition
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4422 Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'ractor_core.h')
-rw-r--r--ractor_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ractor_core.h b/ractor_core.h
index a2dc99df88..7673607a00 100644
--- a/ractor_core.h
+++ b/ractor_core.h
@@ -168,6 +168,7 @@ VALUE rb_thread_create_ractor(rb_ractor_t *g, VALUE args, VALUE proc); // define
rb_global_vm_lock_t *rb_ractor_gvl(rb_ractor_t *);
int rb_ractor_living_thread_num(const rb_ractor_t *);
VALUE rb_ractor_thread_list(rb_ractor_t *r);
+bool rb_ractor_p(VALUE rv);
void rb_ractor_living_threads_init(rb_ractor_t *r);
void rb_ractor_living_threads_insert(rb_ractor_t *r, rb_thread_t *th);