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:
parent
2e1cdf36ba
commit
7204b81bcb
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue