From: Florian Weimer Date: Tue, 6 Jun 2023 09:39:06 +0000 (+0200) Subject: pthreads: Use _exit to terminate the tst-stdio1 test X-Git-Tag: glibc-2.38~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d421209287a07db5e926552ae5fbe9d8abb50dc;p=thirdparty%2Fglibc.git 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. --- diff --git a/sysdeps/pthread/tst-stdio1.c b/sysdeps/pthread/tst-stdio1.c index 1266181505b..b198576319c 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");