diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index bf3dd96bad..0f8214416a 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -443,6 +443,9 @@ native_thread_join(pthread_t th) } } + +#if USE_NATIVE_THREAD_PRIORITY + static void native_thread_apply_priority(rb_thread_t *th) { @@ -469,6 +472,8 @@ native_thread_apply_priority(rb_thread_t *th) #endif } +#endif /* USE_NATIVE_THREAD_PRIORITY */ + static void ubf_pthread_cond_signal(void *ptr) { |