diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-16 10:57:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-16 10:57:38 +0000 |
commit | 0a37669aa5d98875e783df75681f035a905b7f31 (patch) | |
tree | 611caab21da3070beafe7c4739c2fae616321f04 /nptl/tst-clock1.c | |
parent | Update. (diff) | |
download | glibc-0a37669aa5d98875e783df75681f035a905b7f31.tar.gz glibc-0a37669aa5d98875e783df75681f035a905b7f31.tar.bz2 glibc-0a37669aa5d98875e783df75681f035a905b7f31.zip |
Update.
* tst-rwlock6.c: More pthread_rwlock_timedwrlock and
pthread_rwlock_timedrdlock tests.
* tst-rwlock7.c: More pthread_rwlock_timedwrlock tests.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Check for invalid tv_nsec field.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* pthread_mutex_trylock.c (__pthread_mutex_trylock): Protect
recursive mutex of overflow.
* tst-attr1.c (do_test): Add test for pthread_mutexattr_setpshared.
Diffstat (limited to 'nptl/tst-clock1.c')
-rw-r--r-- | nptl/tst-clock1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/tst-clock1.c b/nptl/tst-clock1.c index e0ab3024d3..fbb5fa907e 100644 --- a/nptl/tst-clock1.c +++ b/nptl/tst-clock1.c @@ -19,6 +19,7 @@ #include <pthread.h> #include <stdio.h> +#include <stdlib.h> #include <time.h> #include <unistd.h> |