aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/thread_win32.c b/thread_win32.c
index b484fece8e..250b2b7b80 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -766,4 +766,11 @@ rb_reserved_fd_p(int fd)
{
return 0;
}
+
+rb_nativethread_id_t
+rb_nativethread_self(void)
+{
+ return GetCurrentThread();
+}
+
#endif /* THREAD_SYSTEM_DEPENDENT_IMPLEMENTATION */