diff options
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index c1ec2067f5..b52efe6db9 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -2288,7 +2288,7 @@ static void * timer_pthread_fn(void *p) { rb_vm_t *vm = p; - pthread_t main_thread_id = vm->ractor.main_thread->thread_id; + pthread_t main_thread_id = vm->ractor.main_thread->nt->thread_id; struct pollfd pfd; int timeout = -1; int ccp; |