Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

AnnotatedMixin< PARENT > Class Template Reference

Template mixin that adds -Wthread-safety locking annotations to a subset of the mutex API. More...

#include <sync.h>

+ Inheritance diagram for AnnotatedMixin< PARENT >:
+ Collaboration diagram for AnnotatedMixin< PARENT >:

Public Member Functions

void lock () EXCLUSIVE_LOCK_FUNCTION()
 
void unlock () UNLOCK_FUNCTION()
 
bool try_lock () EXCLUSIVE_TRYLOCK_FUNCTION(true)
 

Detailed Description

template<typename PARENT>
class AnnotatedMixin< PARENT >

Template mixin that adds -Wthread-safety locking annotations to a subset of the mutex API.

Definition at line 54 of file sync.h.

Member Function Documentation

◆ lock()

template<typename PARENT>
void AnnotatedMixin< PARENT >::lock ( )
inline

Definition at line 57 of file sync.h.

◆ try_lock()

template<typename PARENT>
bool AnnotatedMixin< PARENT >::try_lock ( )
inline

Definition at line 67 of file sync.h.

◆ unlock()

template<typename PARENT>
void AnnotatedMixin< PARENT >::unlock ( )
inline

Definition at line 62 of file sync.h.


The documentation for this class was generated from the following file:
Released under the MIT license