OmniSciDB
a5dc49c757
|
#include <LockMgrImpl.h>
Public Member Functions | |
MutexTracker (std::unique_ptr< heavyai::DistributedSharedMutex > dmutex) | |
virtual void | lock () |
virtual bool | try_lock () |
virtual void | unlock () |
virtual void | lock_shared () |
virtual bool | try_lock_shared () |
virtual void | unlock_shared () |
virtual bool | isAcquired () const |
Public Member Functions inherited from heavyai::SharedMutexInterface | |
virtual | ~SharedMutexInterface () |
Public Member Functions inherited from heavyai::MutexInterface | |
virtual | ~MutexInterface () |
Private Attributes | |
std::atomic< size_t > | ref_count_ |
MutexTypeBase | mutex_ |
std::unique_ptr < heavyai::DistributedSharedMutex > | dmutex_ |
Definition at line 38 of file LockMgrImpl.h.
|
inline |
Definition at line 40 of file LockMgrImpl.h.
|
inlinevirtual |
|
virtual |
Implements heavyai::MutexInterface.
Definition at line 38 of file LockMgr.cpp.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
virtual |
Implements heavyai::SharedMutexInterface.
Definition at line 69 of file LockMgr.cpp.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
virtual |
Implements heavyai::MutexInterface.
Definition at line 47 of file LockMgr.cpp.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
virtual |
Implements heavyai::SharedMutexInterface.
Definition at line 78 of file LockMgr.cpp.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
virtual |
Implements heavyai::MutexInterface.
Definition at line 60 of file LockMgr.cpp.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
virtual |
Implements heavyai::SharedMutexInterface.
Definition at line 91 of file LockMgr.cpp.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
private |
Definition at line 56 of file LockMgrImpl.h.
Referenced by lock(), lock_shared(), try_lock(), try_lock_shared(), unlock(), and unlock_shared().
|
private |
Definition at line 55 of file LockMgrImpl.h.
Referenced by lock(), lock_shared(), try_lock(), try_lock_shared(), unlock(), and unlock_shared().
|
private |
Definition at line 54 of file LockMgrImpl.h.
Referenced by isAcquired(), lock(), lock_shared(), try_lock(), try_lock_shared(), unlock(), and unlock_shared().