[PATCH] Remove signal handling for nanosleep (bug 16364)

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Nov 10 12:36:00 GMT 2015



On 09-11-2015 14:19, Joseph Myers wrote:
> <https://sourceware.org/ml/libc-hacker/1998-11/msg00210.html> has what was 
> claimed to be a test for the kernel bug (albeit one with "I believe", not 
> asserted to have actually been tested).

This test is essentially what I have added, it just spawn more children
with different sleep periods.

> 
> I found some claims that nanosleep restarting in some cases was fixed in 
> 2.6(.0), e.g. <https://lkml.org/lkml/2004/11/25/5> 
> <https://lkml.org/lkml/2003/11/8/50>, so before the git history.
> 

Thanks, I tried to track down the kernel source which handles the nanosleep
(kernel/posix-cpu-timers.c), but found it has been fixed also before git
history.

I will resend the patch with this information.



More information about the Libc-alpha mailing list