summaryrefslogtreecommitdiff
path: root/thread_win32.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_win32.c
parente7dc8f0b276b87dfba755e967a37942321d3e6ea (diff)
Compile disabled code for thread cache always
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/thread_win32.c b/thread_win32.c
index b1aab910ef..543a045bd8 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -154,14 +154,12 @@ rb_thread_sched_init(struct rb_thread_sched *sched)
sched->lock = w32_mutex_create();
}
-#if 0
void
rb_thread_sched_destroy(struct rb_thread_sched *sched)
{
if (GVL_DEBUG) fprintf(stderr, "sched destroy\n");
CloseHandle(sched->lock);
}
-#endif
rb_thread_t *
ruby_thread_from_native(void)