summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index e60d71f75a..a7cd6e4c28 100644
--- a/thread.c
+++ b/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);