diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-18 18:26:15 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-18 18:26:15 +0000 |
commit | 1498a7a5104e4c1291ec5500ee5c3e68394cda5e (patch) | |
tree | 316f6e554bc3de280a8cee360f9252d19c290a02 /llvm/lib/System/Unix | |
parent | 68f6598c69a75d8833945070d180730154cd3b6d (diff) | |
download | bcm5719-llvm-1498a7a5104e4c1291ec5500ee5c3e68394cda5e.tar.gz bcm5719-llvm-1498a7a5104e4c1291ec5500ee5c3e68394cda5e.zip |
Give RWMutex the SmartRWMutex treatment too.
llvm-svn: 73710
Diffstat (limited to 'llvm/lib/System/Unix')
-rw-r--r-- | llvm/lib/System/Unix/RWMutex.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/System/Unix/RWMutex.inc b/llvm/lib/System/Unix/RWMutex.inc index 4487d7f83da..e83d41ef4cf 100644 --- a/llvm/lib/System/Unix/RWMutex.inc +++ b/llvm/lib/System/Unix/RWMutex.inc @@ -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; } |