Documentation of memory

( foonathan/memory)

no_mutex Struct Reference

Detailed Description

A dummy Mutex class that does not lock anything.

It is a valid Mutex and can be used to disable locking anywhere a Mutex is requested.

Member Functions

void lock () noexcept
 
bool try_lock () noexcept
 
void unlock () noexcept