commit | b3f3340d2a874d68e2b3f0eb057ecbcdd97f94b5 | [log] [tgz] |
---|---|---|
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sat Jul 25 11:15:03 2009 +0000 |
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sat Jul 25 11:15:03 2009 +0000 |
tree | 1645f62498ca7ee31421ab054e1ef7d46d465b23 | |
parent | ea7e8b673a083ca6ffb90693bb0e04cf14c93293 [diff] |
Fixed bug in DRD's rwlock implementation that caused the regression test called rwlock_test to fail sometimes on Darwin. The fact that this test only failed on Darwin and not on Linux implies that on Linux after unlocking an rwlock that was locked for writing there always happens a context switch to another thread waiting for acquiring the rwlock, and that this is not the case on Darwin. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10598 a5019735-40e9-0310-863c-91ae7b9d1cf9