summaryrefslogtreecommitdiff
path: root/nptl/pthread_mutex_lock.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-07-31 07:17:01 +0000
committerRoland McGrath <roland@gnu.org>2006-07-31 07:17:01 +0000
commit518b2177f6c4f79e148414edf507a1aabab0e07b (patch)
tree8208ec657ac9776ade468a04bc9a8d60e8ab9e2a /nptl/pthread_mutex_lock.c
parentab5823b4b6e760345d347b98830ccc75aa81bff6 (diff)
Updated to fedora-glibc-20060731T0706
Diffstat (limited to 'nptl/pthread_mutex_lock.c')
-rw-r--r--nptl/pthread_mutex_lock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/pthread_mutex_lock.c b/nptl/pthread_mutex_lock.c
index 5345766883..a19c907695 100644
--- a/nptl/pthread_mutex_lock.c
+++ b/nptl/pthread_mutex_lock.c
@@ -21,6 +21,7 @@
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
+#include <not-cancel.h>
#include "pthreadP.h"
#include <lowlevellock.h>
@@ -278,7 +279,7 @@ __pthread_mutex_lock (mutex)
/* Delay the thread indefinitely. */
while (1)
- __pause_nocancel ();
+ pause_not_cancel ();
}
oldval = mutex->__data.__lock;