[2/2] pthreads: Use _exit to terminate the tst-stdio1 test
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
fail
|
Patch failed to apply
|
Commit Message
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Jun 06 2023, Florian Weimer via Libc-alpha wrote:
> 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.
Ok.
@@ -46,7 +46,7 @@ do_test (void)
_exit (1);
}
- delayed_exit (1);
+ delayed__exit (1);
xpthread_join (th);
puts ("join returned");