[Bug nptl/13184] rwlocks can go into dead lock

bugdal at aerifal dot cx sourceware-bugzilla@sourceware.org
Mon Sep 12 22:26:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=13184

--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> 2011-09-12 22:25:26 UTC ---
I'm confused how the assertions relate to your original claim that __nr_readers
can go negative. Having __nr_readers momentarily exceed the actual number of
readers is not necessarily a bug unless it actually overflows and causes a
later comparison to evaluate incorrectly, and this test program does not seem
to be able to establish that it overflows.

BTW, I tried testing on a dual-core Atom and could not get the assertions to
fail.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list