This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove signal handling for nanosleep (bug 16364)
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Joseph Myers <joseph at codesourcery dot com>, Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 10 Nov 2015 10:36:32 -0200
- Subject: Re: [PATCH] Remove signal handling for nanosleep (bug 16364)
- Authentication-results: sourceware.org; auth=none
- References: <1447023171-31542-1-git-send-email-adhemerval dot zanella at linaro dot com> <56405109 dot 9070404 at redhat dot com> <56408F14 dot 1040600 at linaro dot org> <56409561 dot 7050707 at redhat dot com> <5640A89D dot 80804 at linaro dot org> <5640AD98 dot 5030105 at redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1511091610490 dot 18468 at digraph dot polyomino dot org dot uk>
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.