From ef78536cf0c13333234c19b0af959beb65d7e105 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Tue, 10 Oct 2023 18:27:22 +0900 Subject: [PATCH] WIP enables if USE_MN_THREADS --- thread_pthread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thread_pthread.c b/thread_pthread.c index ff09087ceb1fe6..c20d6a727504dc 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1094,7 +1094,9 @@ rb_thread_sched_init(struct rb_thread_sched *sched, bool atfork) ccan_list_head_init(&sched->readyq); sched->readyq_cnt = 0; +#if USE_MN_THREADS if (!atfork) sched->enable_mn_threads = true; // MN is enabled on Ractors +#endif } static void