From 4a085d462e97c3b3d246d1ea7c63dd27222d4120 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Sat, 7 Oct 2023 16:21:31 +0900 Subject: [PATCH] WIP fix comment --- thread_pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread_pthread.c b/thread_pthread.c index 4be3597ef87915..add0fd0010c88a 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -2464,8 +2464,8 @@ rb_thread_wakeup_timer_thread(int sig) // wakeup timer thread timer_thread_wakeup_force(); + // interrupt main thread if main thread is available if (system_working) { - // interrupt main thread rb_vm_t *vm = GET_VM(); rb_thread_t *main_th = vm->ractor.main_thread;