[PATCH] nptl: Avoid expected SIGALRM in most tests [BZ #20432]

Florian Weimer fweimer@redhat.com
Wed Mar 15 13:26:00 GMT 2017


On 03/15/2017 02:15 PM, Andreas Schwab wrote:
> On Dez 15 2016, Florian Weimer <fweimer@redhat.com> wrote:
>
>> The test previously called exit from the signal handler.  Why did it work
>> before?
>
> That only "works" because _IO_cleanup is not thread-safe.

Sorry, I don't see the test failure.  Based on the comments in 
libio/genops.c, I think there is an expectation that even with locked 
stdout, exit does not block.

In other words, if this test times out for you, this is a genuine bug, 
not an issue with this test.

I may be missing something, but in that case, please elaborate.

Thanks,
Florian



More information about the Libc-alpha mailing list