aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.ci
diff options
context:
space:
mode:
Diffstat (limited to 'thread_win32.ci')
-rw-r--r--thread_win32.ci7
1 files changed, 7 insertions, 0 deletions
diff --git a/thread_win32.ci b/thread_win32.ci
index 2dea450e35..27550ccf01 100644
--- a/thread_win32.ci
+++ b/thread_win32.ci
@@ -307,4 +307,11 @@ rb_thread_create_timer_thread(void)
}
}
+void
+rb_thread_reset_timer_thread(void)
+{
+ timer_thread_handle = 0;
+ rb_thread_create_timer_thread();
+}
+
#endif /* THREAD_SYSTEM_DEPENDENT_IMPLEMENTATION */