THRIFT-1272 add subclass of ReadWriteMutex that avoids writer
authorRoger Meier <roger@apache.org>
Sun, 11 Dec 2011 21:05:35 +0000 (21:05 +0000)
committerRoger Meier <roger@apache.org>
Sun, 11 Dec 2011 21:05:35 +0000 (21:05 +0000)
commit3fc481961778b1ec5faebd2b42d9a15d8b875e35
treee00475324789dd088512606eda83f18bc3a515aa
parent1d282a95c604019cc7b4f885738daa61b7974ca4
THRIFT-1272 add subclass of ReadWriteMutex that avoids writer
starvation
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1213067 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/concurrency/Mutex.cpp
lib/cpp/src/concurrency/Mutex.h
lib/cpp/test/Makefile.am
lib/cpp/test/RWMutexStarveTest.cpp [new file with mode: 0644]