aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-06-06 11:39:06 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-06-06 11:39:06 +0200
commit7d421209287a07db5e926552ae5fbe9d8abb50dc (patch)
treec1908a06fc215f1c395287b49916adf8fd4533e4
parent047703fbb88eb38fbe973f3abedb279382f181d0 (diff)
downloadglibc-7d421209287a07db5e926552ae5fbe9d8abb50dc.zip
glibc-7d421209287a07db5e926552ae5fbe9d8abb50dc.tar.gz
glibc-7d421209287a07db5e926552ae5fbe9d8abb50dc.tar.bz2
pthreads: Use _exit to terminate the tst-stdio1 test
Previously, the exit function was used, but this causes the test to block (until the timeout) once exit is changed to lock stdio streams during flush.
-rw-r--r--sysdeps/pthread/tst-stdio1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/tst-stdio1.c b/sysdeps/pthread/tst-stdio1.c
index 1266181..b198576 100644
--- a/sysdeps/pthread/tst-stdio1.c
+++ b/sysdeps/pthread/tst-stdio1.c
@@ -46,7 +46,7 @@ do_test (void)
_exit (1);
}
- delayed_exit (1);
+ delayed__exit (1);
xpthread_join (th);
puts ("join returned");