fix to use rb_ractor_id()
Catch up recent changes on USE_RUBY_DEBUG_LOG=1.
This commit is contained in:
parent
2e1cdf36ba
commit
7204b81bcb
2
thread.c
2
thread.c
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user