TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
This exactly a unique lock that doesn't unlock on delete. More...
#include <prioritymutex.h>
Public Member Functions | |
permanent_lock ()=default | |
permanent_lock (Mutex_t &m_) | |
permanent_lock (const permanent_lock &)=delete | |
permanent_lock & | operator= (const permanent_lock &)=delete |
~permanent_lock () | |
void | operator= (permanent_lock &&o) |
void | lock () |
void | unlock () |
bool | owns_lock () |
This exactly a unique lock that doesn't unlock on delete.
|
default |
|
inlineexplicit |
|
delete |
|
inline |
void cpid::permanent_lock< Mutex_t >::lock | ( | ) |
|
delete |
void cpid::permanent_lock< Mutex_t >::operator= | ( | permanent_lock< Mutex_t > && | o | ) |
bool cpid::permanent_lock< Mutex_t >::owns_lock | ( | ) |
void cpid::permanent_lock< Mutex_t >::unlock | ( | ) |