Bitcoin Core 28.99.0
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 | unique_lock = 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 >::unique_lock = std::unique_lock<PARENT> |
|
inline |
|
inline |
|
inline |
|
inline |