aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_getschedparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_getschedparam.c')
-rw-r--r--nptl/pthread_getschedparam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/pthread_getschedparam.c b/nptl/pthread_getschedparam.c
index 5c49afa..9914b9d 100644
--- a/nptl/pthread_getschedparam.c
+++ b/nptl/pthread_getschedparam.c
@@ -35,6 +35,7 @@ __pthread_getschedparam (pthread_t threadid, int *policy,
int result = 0;
+ /* See CREATE THREAD NOTES in nptl/pthread_create.c. */
lll_lock (pd->lock, LLL_PRIVATE);
/* The library is responsible for maintaining the values at all