diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index e13e26786e..1b4ec10b98 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1535,4 +1535,10 @@ rb_reserved_fd_p(int fd) #endif } +rb_nativethread_id_t +rb_nativethread_self(void) +{ + return pthread_self(); +} + #endif /* THREAD_SYSTEM_DEPENDENT_IMPLEMENTATION */ |