aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-sem5.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-08 10:30:42 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-08 10:30:42 +0000
commitccf1d5737a2241f2521eb3af2bbf0c118dce828d (patch)
treef3bc34979cc66a962df2b25097bec078cdaeaca2 /nptl/tst-sem5.c
parentd130a3415649b36ac672ab49068aec7c02a8135c (diff)
downloadglibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.zip
glibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.tar.gz
glibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.tar.bz2
Update.
* tst-tls2.c (do_test): Add TEMP_FAILURE_RETRY around sem_wait call. * tst-signal3.c (do_test): Likewise. * tst-sem5.c (do_test): Likewise. * tst-kill6.c (do_test): Likewise. * tst-tls3.c (do_test): Likewise. Include <errno.h>. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use add/sub instead of inc/dec. * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise. * sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
Diffstat (limited to 'nptl/tst-sem5.c')
-rw-r--r--nptl/tst-sem5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/tst-sem5.c b/nptl/tst-sem5.c
index d76c265..cb85b8e 100644
--- a/nptl/tst-sem5.c
+++ b/nptl/tst-sem5.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -38,7 +38,7 @@ do_test (void)
return 1;
}
- if (sem_wait (&s) == -1)
+ if (TEMP_FAILURE_RETRY (sem_wait (&s)) == -1)
{
puts ("sem_wait failed");
return 1;