diff options
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r-- | thread_pthread.ci | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci index d624e98487..f9498f8786 100644 --- a/thread_pthread.ci +++ b/thread_pthread.ci @@ -285,6 +285,7 @@ native_thread_apply_priority(rb_thread_t *th) else if (max > priority) { priority = min; } + th->priority = 0 - priority; sp.sched_priority = priority; pthread_setschedparam(th->thread_id, policy, &sp); |