diff options
author | Jeremy Evans <code@jeremyevans.net> | 2022-04-22 14:26:26 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2022-04-22 14:26:26 -0700 |
commit | c2d38a0d2d78f749fba47073b33106fd2e57767a (patch) | |
tree | 39d3499e049a52437250fd45903df891afef4ef3 | |
parent | 79fa27acc452c50ae47936880f91424e729fda72 (diff) | |
download | ruby-c2d38a0d2d78f749fba47073b33106fd2e57767a.tar.gz |
Fix build if UBF_TIMER == UBF_TIMER_PTHREAD
-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; |