1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Move rb_ractor_p definition

This commit is contained in:
S.H 2021-10-04 08:21:40 +09:00 committed by GitHub
parent 3f5b52bfda
commit e54d1e99e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-10-04 08:22:01 +09:00
Merged: https://github.com/ruby/ruby/pull/4422

Merged-By: nobu <nobu@ruby-lang.org>
2 changed files with 1 additions and 2 deletions

2
gc.c
View file

@ -13068,8 +13068,6 @@ rb_raw_iseq_info(char *buff, const int buff_size, const rb_iseq_t *iseq)
}
}
bool rb_ractor_p(VALUE rv);
static int
str_len_no_raise(VALUE str)
{

View file

@ -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);