diff options
Diffstat (limited to 'nptl/pthread_setschedparam.c')
-rw-r--r-- | nptl/pthread_setschedparam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_setschedparam.c b/nptl/pthread_setschedparam.c index 8129dec..1b0062f 100644 --- a/nptl/pthread_setschedparam.c +++ b/nptl/pthread_setschedparam.c @@ -39,7 +39,7 @@ __pthread_setschedparam (threadid, policy, param) int result = 0; - lll_lock (pd->lock); + lll_lock (pd->lock, LLL_PRIVATE); struct sched_param p; const struct sched_param *orig_param = param; @@ -67,7 +67,7 @@ __pthread_setschedparam (threadid, policy, param) pd->flags |= ATTR_FLAG_SCHED_SET | ATTR_FLAG_POLICY_SET; } - lll_unlock (pd->lock); + lll_unlock (pd->lock, LLL_PRIVATE); return result; } |