![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
Template mixin that adds -Wthread-safety locking annotations and lock order checking to a subset of the mutex API. More...
#include <sync.h>
Public Types | |
using | UniqueLock = std::unique_lock< PARENT > |
Public Member Functions | |
~AnnotatedMixin () | |
void | lock () EXCLUSIVE_LOCK_FUNCTION() |
void | unlock () UNLOCK_FUNCTION() |
bool | try_lock () EXCLUSIVE_TRYLOCK_FUNCTION(true) |
Template mixin that adds -Wthread-safety locking annotations and lock order checking to a subset of the mutex API.
using AnnotatedMixin< PARENT >::UniqueLock = std::unique_lock<PARENT> |
|
inline |
|
inline |
|
inline |
|
inline |