fast_mutex Class Reference

Back to the index.

Public Member Functions | List of all members
fast_mutex Class Reference

Part of Wu Yongwei's new/delete debug memory leak detector. More...

#include <fast_mutex.h>

Public Member Functions

 fast_mutex ()
 
 ~fast_mutex ()
 
void lock ()
 
void unlock ()
 

Detailed Description

Part of Wu Yongwei's new/delete debug memory leak detector.

Class for non-reentrant fast mutexes. This is the null implementation for single-threaded environments.

Definition at line 273 of file fast_mutex.h.

Constructor & Destructor Documentation

◆ fast_mutex()

fast_mutex::fast_mutex ( )
inline

Definition at line 279 of file fast_mutex.h.

◆ ~fast_mutex()

fast_mutex::~fast_mutex ( )
inline

Definition at line 285 of file fast_mutex.h.

References _FAST_MUTEX_ASSERT.

Member Function Documentation

◆ lock()

void fast_mutex::lock ( )
inline

Definition at line 289 of file fast_mutex.h.

References _FAST_MUTEX_ASSERT.

Referenced by fast_mutex_autolock::fast_mutex_autolock().

◆ unlock()

void fast_mutex::unlock ( )
inline

Definition at line 296 of file fast_mutex.h.

References _FAST_MUTEX_ASSERT.

Referenced by fast_mutex_autolock::~fast_mutex_autolock().


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

Generated on Tue Aug 25 2020 19:25:06 for GXemul by doxygen 1.8.18