diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-06-06 11:39:06 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-06-06 11:39:06 +0200 |
commit | 7d421209287a07db5e926552ae5fbe9d8abb50dc (patch) | |
tree | c1908a06fc215f1c395287b49916adf8fd4533e4 | |
parent | 047703fbb88eb38fbe973f3abedb279382f181d0 (diff) | |
download | glibc-7d421209287a07db5e926552ae5fbe9d8abb50dc.tar glibc-7d421209287a07db5e926552ae5fbe9d8abb50dc.tar.gz glibc-7d421209287a07db5e926552ae5fbe9d8abb50dc.tar.bz2 glibc-7d421209287a07db5e926552ae5fbe9d8abb50dc.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/tst-stdio1.c b/sysdeps/pthread/tst-stdio1.c index 1266181505..b198576319 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"); |