From e08057b1ff24258dd7460ad81e84491f7a28b424 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 1 Aug 2007 17:16:42 +0000 Subject: Updated to fedora-glibc-20070801T1703 --- nptl/pthread_getschedparam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl/pthread_getschedparam.c') diff --git a/nptl/pthread_getschedparam.c b/nptl/pthread_getschedparam.c index 5e8713016e..d4e9459bb3 100644 --- a/nptl/pthread_getschedparam.c +++ b/nptl/pthread_getschedparam.c @@ -38,7 +38,7 @@ __pthread_getschedparam (threadid, policy, param) int result = 0; - lll_lock (pd->lock); + lll_lock (pd->lock, LLL_PRIVATE); /* The library is responsible for maintaining the values at all times. If the user uses a interface other than @@ -68,7 +68,7 @@ __pthread_getschedparam (threadid, policy, param) memcpy (param, &pd->schedparam, sizeof (struct sched_param)); } - lll_unlock (pd->lock); + lll_unlock (pd->lock, LLL_PRIVATE); return result; } -- cgit v1.2.3