diff options
author | Roland McGrath <roland@gnu.org> | 2006-07-31 07:17:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-07-31 07:17:01 +0000 |
commit | 518b2177f6c4f79e148414edf507a1aabab0e07b (patch) | |
tree | 8208ec657ac9776ade468a04bc9a8d60e8ab9e2a /nptl/pthread_mutex_timedlock.c | |
parent | ab5823b4b6e760345d347b98830ccc75aa81bff6 (diff) |
Updated to fedora-glibc-20060731T0706
Diffstat (limited to 'nptl/pthread_mutex_timedlock.c')
-rw-r--r-- | nptl/pthread_mutex_timedlock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c index 12f6c997bb..dcff4f81a8 100644 --- a/nptl/pthread_mutex_timedlock.c +++ b/nptl/pthread_mutex_timedlock.c @@ -19,8 +19,10 @@ #include <assert.h> #include <errno.h> +#include <time.h> #include "pthreadP.h" #include <lowlevellock.h> +#include <not-cancel.h> int @@ -281,7 +283,7 @@ pthread_mutex_timedlock (mutex, abstime) --reltime.tv_sec; } if (reltime.tv_sec >= 0) - while (__nanosleep_nocancel (&reltime, &reltime) != 0) + while (nanosleep_not_cancel (&reltime, &reltime) != 0) continue; return ETIMEDOUT; |