Andreas Schwab f21e8f8ca4 Fix rwlock stall with PREFER_WRITER_NONRECURSIVE_NP (bug 23861)
In the read lock function (__pthread_rwlock_rdlock_full) there was a
code path which would fail to reload __readers while waiting for
PTHREAD_RWLOCK_RWAITING to change. This failure to reload __readers
into a local value meant that various conditionals used the old value
of __readers and with only two threads left it could result in an
indefinite stall of one of the readers (waiting for PTHREAD_RWLOCK_RWAITING
to go to zero, but it never would).
2018-12-13 12:22:30 +01:00
..
2018-07-24 14:06:45 -03:00
2018-12-01 08:19:20 -08:00
2018-12-01 08:19:20 -08:00
2018-02-22 16:43:59 -03:00
2007-05-15 06:49:29 +00:00
2006-08-13 01:56:09 +00:00
2011-10-24 21:43:33 -04:00
2008-05-31 08:56:14 +00:00
2007-05-26 01:23:04 +00:00
2004-11-12 01:27:04 +00:00
2007-08-21 23:55:36 +00:00
2018-07-24 14:07:12 -03:00