ruby-changes:68235
From: S.H <ko1@a...>
Date: Mon, 4 Oct 2021 08:21:51 +0900 (JST)
Subject: [ruby-changes:68235] e54d1e99e9 (master): Move rb_ractor_p definition
https://git.ruby-lang.org/ruby.git/commit/?id=e54d1e99e9 From e54d1e99e96fd2bbf6154f7eb2928b1e2d63596e Mon Sep 17 00:00:00 2001 From: "S.H" <gamelinks007@g...> Date: Mon, 4 Oct 2021 08:21:40 +0900 Subject: Move rb_ractor_p definition --- gc.c | 2 -- ractor_core.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gc.c b/gc.c index 76a5df27a6..fdd4ac5eb3 100644 --- a/gc.c +++ b/gc.c @@ -13068,8 +13068,6 @@ rb_raw_iseq_info(char *buff, const int buff_size, const rb_iseq_t *iseq) https://github.com/ruby/ruby/blob/trunk/gc.c#L13068 } } -bool rb_ractor_p(VALUE rv); - static int str_len_no_raise(VALUE str) { 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 https://github.com/ruby/ruby/blob/trunk/ractor_core.h#L168 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); -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/