This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 11/10/2015 03:22 PM, Andreas Schwab wrote:
> Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> 
>> That's the hole points of the previous discussion in v1 patch while
>> Florian also pointed this racy.  He neither I could devise a race-free
>> testcase to check for this issue so my questioning was if someone have
>> a way to remove the race or if we really should push for this test. 
> 
> A racy test is as good as a non-existing test.  Everyone will ignore it.

I disagree very strongly.  It depends on the frequency of the race, and
it which direction it errs (FAIL even without the bug, or PASS with the
bug).  Some properties are impossible to test without theoretic races.
It really depends on the rate of inappropriate FAILs whether such tests
have value or not.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]