aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-29 00:08:36 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-30 23:59:05 +0900
commitc1432a481615c7f1ad2c1426f0617f73599e2493 (patch)
tree965891fc843842833c1f1bf4bb7159f7ed4aa2d7 /thread.c
parente7dc8f0b276b87dfba755e967a37942321d3e6ea (diff)
downloadruby-c1432a481615c7f1ad2c1426f0617f73599e2493.tar.gz
Compile disabled code for thread cache always
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index b48b1ac9cb..820f2b354c 100644
--- a/thread.c
+++ b/thread.c
@@ -5437,6 +5437,9 @@ Init_Thread(void)
rb_thread_create_timer_thread();
Init_thread_sync();
+
+ // TODO: Suppress unused function warning for now
+ if (0) rb_thread_sched_destroy(NULL);
}
int