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

#include <thread.h>

Public Member Functions

 write_lock_guard (spin_rw_mutex &fm) noexcept
 
 ~write_lock_guard () noexcept
 

Detailed Description

Helper class: scoped write lock for a spin_rw_mutex – grabs the read lock upon construction, releases the lock when it exits scope.

Definition at line 485 of file thread.h.

Constructor & Destructor Documentation

spin_rw_mutex::write_lock_guard::write_lock_guard ( spin_rw_mutex fm)
inlinenoexcept

Definition at line 487 of file thread.h.

spin_rw_mutex::write_lock_guard::~write_lock_guard ( )
inlinenoexcept

Definition at line 488 of file thread.h.


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