summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
-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)