summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-03-22 18:53:44 +0900
committerNobuyoshi Nakada <[email protected]>2024-03-22 18:53:44 +0900
commite2a9b87126d59e4766479a7aa12cf7a648f46506 ()
tree442478abd72e251cfddc1792b0e223d68550ed1a /thread_win32.c
parent127d7a35df10ee2bc99f44b888972b2c5361d84f (diff)
`rb_thread_sched_destroy` is not used now at all
-rw-r--r--thread_win32.c2
1 files changed, 2 insertions, 0 deletions
@@ -155,6 +155,7 @@ rb_thread_sched_init(struct rb_thread_sched *sched, bool atfork)
sched->lock = w32_mutex_create();
}
// per-ractor
void
rb_thread_sched_destroy(struct rb_thread_sched *sched)
@@ -162,6 +163,7 @@ rb_thread_sched_destroy(struct rb_thread_sched *sched)
if (GVL_DEBUG) fprintf(stderr, "sched destroy\n");
CloseHandle(sched->lock);
}
rb_thread_t *
ruby_thread_from_native(void)