about summary refs log tree commit diff
path: root/nptl/tst-tls3.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-tls3.c
parentd130a3415649b36ac672ab49068aec7c02a8135c (diff)
downloadglibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.tar.gz
glibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.tar.xz
glibc-ccf1d5737a2241f2521eb3af2bbf0c118dce828d.zip
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-tls3.c')
-rw-r--r--nptl/tst-tls3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/tst-tls3.c b/nptl/tst-tls3.c
index 0408a1a351..a34862e58c 100644
--- a/nptl/tst-tls3.c
+++ b/nptl/tst-tls3.c
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include <dlfcn.h>
+#include <errno.h>
 #include <pthread.h>
 #include <signal.h>
 #include <semaphore.h>
@@ -145,7 +146,7 @@ do_test (void)
 	      exit (1);
 	    }
 
-	  if (sem_wait (&s) != 0)
+	  if (TEMP_FAILURE_RETRY (sem_wait (&s)) != 0)
 	    {
 	      puts ("sem_wait failed");
 	      exit (1);