tlds
Transactional Operations for Linked Data Structures
|
#include <lockkey.h>
Public Member Functions | |
LockKey () | |
~LockKey () | |
void | Init () |
void | Uninit () |
bool | Lock (uint32_t key) |
void | Unlock () |
Private Types | |
typedef std::recursive_timed_mutex | LockType |
typedef tbb::concurrent_hash_map < uint32_t, LockType * > | LockMap |
typedef std::unordered_set < LockType * > | LockSet |
Private Attributes | |
LockMap | m_lockMap |
Static Private Attributes | |
static __thread LockSet * | m_lockSet |
|
private |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
staticprivate |