projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
047703f
)
pthreads: Use _exit to terminate the tst-stdio1 test
author
Florian Weimer
<fweimer@redhat.com>
Tue, 6 Jun 2023 09:39:06 +0000
(11:39 +0200)
committer
Florian 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
patch
|
blob
|
history
diff --git
a/sysdeps/pthread/tst-stdio1.c
b/sysdeps/pthread/tst-stdio1.c
index
1266181
..
b198576
100644
(file)
--- 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");