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:
parent
3f5b52bfda
commit
e54d1e99e9
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
2
gc.c
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue