Bitcoin ABC 0.30.7
P2P Digital Currency
|
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 |