summaryrefslogtreecommitdiff
path: root/nptl/tst-exit1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-27 23:45:12 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-27 23:45:12 +0000
commit567fb22ae371d2d9730cbee4a716d3a091276b55 (patch)
tree5fdacdbecbcdccbab89b8a0349f80243562dfc66 /nptl/tst-exit1.c
parent427f5fa1a451050d0900ef689ce81d77b3f40d2e (diff)
Update.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Release lock before waking up the waiters.
Diffstat (limited to 'nptl/tst-exit1.c')
-rw-r--r--nptl/tst-exit1.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nptl/tst-exit1.c b/nptl/tst-exit1.c
index 0081f32c2e..44175f76c6 100644
--- a/nptl/tst-exit1.c
+++ b/nptl/tst-exit1.c
@@ -24,8 +24,6 @@
#include <stdio.h>
#include <stdlib.h>
-#define N 20
-
static pthread_barrier_t b;
@@ -46,7 +44,7 @@ tf (void *arg)
static int
do_test (void)
{
- if (pthread_barrier_init (&b, NULL, N + 1) != 0)
+ if (pthread_barrier_init (&b, NULL, 2) != 0)
{
puts ("barrier_init failed");
exit (1);