HDK
|
#include <thread.h>
Classes | |
class | read_lock_guard |
class | write_lock_guard |
Public Member Functions | |
spin_rw_mutex () noexcept | |
~spin_rw_mutex () noexcept | |
spin_rw_mutex (const spin_rw_mutex &)=delete | |
const spin_rw_mutex & | operator= (const spin_rw_mutex &)=delete |
void | read_lock () noexcept |
void | read_unlock () noexcept |
void | write_lock () noexcept |
void | write_unlock () noexcept |
void | lock () |
lock() is a synonym for exclusive (write) lock. More... | |
void | unlock () |
unlock() is a synonym for exclusive (write) unlock. More... | |
Spinning reader/writer mutex. This is just like spin_mutex, except that there are separate locking mechanisms for "writers" (exclusive holders of the lock, presumably because they are modifying whatever the lock is protecting) and "readers" (non-exclusive, non-modifying tasks that may access the protectee simultaneously).
|
inlinenoexcept |
|
delete |
|
inline |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |