TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
This is exactly an unique_lock without automatic lock, except that the lock functions accepts a priority. More...
#include <prioritymutex.h>
Public Member Functions | |
priority_lock ()=default | |
priority_lock (priority_mutex &m, int default_prio=0) | |
priority_lock (const priority_lock &)=delete | |
priority_lock & | operator= (const priority_lock &)=delete |
~priority_lock () | |
void | operator= (priority_lock &&o) |
void | lock (int prio) |
void | lock () |
void | unlock () |
bool | try_lock (int prio) |
bool | owns_lock () |
This is exactly an unique_lock without automatic lock, except that the lock functions accepts a priority.
|
default |
|
inlineexplicit |
|
delete |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |