OmniSciDB
f17484ade4
|
#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 |
![]() | |
virtual | ~SharedMutexInterface () |
![]() | |
virtual | ~MutexInterface () |
Private Attributes | |
std::atomic< size_t > | ref_count_ |
MutexTypeBase | mutex_ |
std::unique_ptr < heavyai::DistributedSharedMutex > | dmutex_ |
Definition at line 40 of file LockMgrImpl.h.
|
inline |
Definition at line 42 of file LockMgrImpl.h.
|
inlinevirtual |
|
inlinevirtual |
Implements heavyai::MutexInterface.
Definition at line 45 of file LockMgrImpl.h.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
inlinevirtual |
Implements heavyai::SharedMutexInterface.
Definition at line 74 of file LockMgrImpl.h.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
inlinevirtual |
Implements heavyai::MutexInterface.
Definition at line 53 of file LockMgrImpl.h.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
inlinevirtual |
Implements heavyai::SharedMutexInterface.
Definition at line 82 of file LockMgrImpl.h.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
inlinevirtual |
Implements heavyai::MutexInterface.
Definition at line 65 of file LockMgrImpl.h.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
inlinevirtual |
Implements heavyai::SharedMutexInterface.
Definition at line 94 of file LockMgrImpl.h.
References dmutex_, g_multi_instance, mutex_, and ref_count_.
|
private |
Definition at line 108 of file LockMgrImpl.h.
Referenced by lock(), lock_shared(), try_lock(), try_lock_shared(), unlock(), and unlock_shared().
|
private |
Definition at line 107 of file LockMgrImpl.h.
Referenced by lock(), lock_shared(), try_lock(), try_lock_shared(), unlock(), and unlock_shared().
|
private |
Definition at line 106 of file LockMgrImpl.h.
Referenced by isAcquired(), lock(), lock_shared(), try_lock(), try_lock_shared(), unlock(), and unlock_shared().