HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
null_mutex Class Reference

#include <thread.h>

Public Member Functions

 null_mutex () noexcept
 
 ~null_mutex () noexcept
 
void lock () noexcept
 
void unlock () noexcept
 
void lock_shared () noexcept
 
void unlock_shared () noexcept
 
bool try_lock () noexcept
 

Detailed Description

Null mutex that can be substituted for a real one to test how much overhead is associated with a particular mutex.

Definition at line 62 of file thread.h.

Constructor & Destructor Documentation

null_mutex::null_mutex ( )
inlinenoexcept

Definition at line 64 of file thread.h.

null_mutex::~null_mutex ( )
inlinenoexcept

Definition at line 65 of file thread.h.

Member Function Documentation

void null_mutex::lock ( )
inlinenoexcept

Definition at line 66 of file thread.h.

void null_mutex::lock_shared ( )
inlinenoexcept

Definition at line 68 of file thread.h.

bool null_mutex::try_lock ( )
inlinenoexcept

Definition at line 70 of file thread.h.

void null_mutex::unlock ( )
inlinenoexcept

Definition at line 67 of file thread.h.

void null_mutex::unlock_shared ( )
inlinenoexcept

Definition at line 69 of file thread.h.


The documentation for this class was generated from the following file: