diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-27 23:45:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-27 23:45:12 +0000 |
commit | 567fb22ae371d2d9730cbee4a716d3a091276b55 (patch) | |
tree | 5fdacdbecbcdccbab89b8a0349f80243562dfc66 /nptl/tst-exit1.c | |
parent | 427f5fa1a451050d0900ef689ce81d77b3f40d2e (diff) | |
download | glibc-567fb22ae371d2d9730cbee4a716d3a091276b55.zip glibc-567fb22ae371d2d9730cbee4a716d3a091276b55.tar.gz glibc-567fb22ae371d2d9730cbee4a716d3a091276b55.tar.bz2 |
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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nptl/tst-exit1.c b/nptl/tst-exit1.c index 0081f32..44175f7 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); |