diff options
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_mutex.cc')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_mutex.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_mutex.cc b/compiler-rt/lib/tsan/rtl/tsan_mutex.cc index 1ef48a07c94..68eab5d6c8f 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_mutex.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_mutex.cc @@ -256,22 +256,4 @@ void Mutex::ReadUnlock() { #endif } -Lock::Lock(Mutex *m) - : m_(m) { - m_->Lock(); -} - -Lock::~Lock() { - m_->Unlock(); -} - -ReadLock::ReadLock(Mutex *m) - : m_(m) { - m_->ReadLock(); -} - -ReadLock::~ReadLock() { - m_->ReadUnlock(); -} - } // namespace __tsan |

