Give RWMutex the SmartRWMutex treatment too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73710 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2009-06-18 18:26:15 +00:00
parent b849a4dd4b
commit b65e9ed106
4 changed files with 83 additions and 39 deletions

View File

@@ -20,23 +20,23 @@ namespace llvm {
using namespace sys;
RWMutex::RWMutex() { }
RWMutexImpl::RWMutexImpl() { }
RWMutex::~RWMutex() { }
RWMutexImpl::~RWMutexImpl() { }
bool RWMutex::reader_acquire() {
bool RWMutexImpl::reader_acquire() {
return true;
}
bool RWMutex::reader_release() {
bool RWMutexImpl::reader_release() {
return true;
}
bool RWMutex::writer_acquire() {
bool RWMutexImpl::writer_acquire() {
return true;
}
bool RWMutex::writer_release() {
bool RWMutexImpl::writer_release() {
return true;
}