1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix build if UBF_TIMER == UBF_TIMER_PTHREAD

This commit is contained in:
Jeremy Evans 2022-04-22 14:26:26 -07:00
parent 79fa27acc4
commit c2d38a0d2d

View file

@ -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;