From 567fb22ae371d2d9730cbee4a716d3a091276b55 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 27 Feb 2003 23:45:12 +0000 Subject: Update. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Release lock before waking up the waiters. --- nptl/tst-exit1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'nptl/tst-exit1.c') 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 #include -#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); -- cgit v1.2.3