From c2d38a0d2d78f749fba47073b33106fd2e57767a Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Fri, 22 Apr 2022 14:26:26 -0700 Subject: Fix build if UBF_TIMER == UBF_TIMER_PTHREAD --- thread_pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_pthread.c') 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; -- cgit v1.2.1