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

fix to use rb_ractor_id()

Catch up recent changes on USE_RUBY_DEBUG_LOG=1.
This commit is contained in:
Koichi Sasada 2020-12-22 12:59:47 +09:00
parent 2e1cdf36ba
commit 7204b81bcb

View file

@ -980,7 +980,7 @@ thread_create_core(VALUE thval, struct thread_create_params *params)
rb_native_mutex_initialize(&th->interrupt_lock);
RUBY_DEBUG_LOG("r:%u th:%p", th->ractor->id, th);
RUBY_DEBUG_LOG("r:%u th:%p", rb_ractor_id(th->ractor), th);
rb_ractor_living_threads_insert(th->ractor, th);