]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
pthreads: Use _exit to terminate the tst-stdio1 test
authorFlorian Weimer <fweimer@redhat.com>
Tue, 6 Jun 2023 09:39:06 +0000 (11:39 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 6 Jun 2023 09:39:06 +0000 (11:39 +0200)
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.

sysdeps/pthread/tst-stdio1.c

index 1266181505b8a12b85264bd0f66e7cfabb389078..b198576319c3cd840dc823419f978791bc7c2716 100644 (file)
@@ -46,7 +46,7 @@ do_test (void)
       _exit (1);
     }
 
-  delayed_exit (1);
+  delayed__exit (1);
   xpthread_join (th);
 
   puts ("join returned");