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

#include <thread.h>

Public Member Functions

 read_lock_guard (spin_rw_mutex &fm) noexcept
 
 ~read_lock_guard () noexcept
 

Detailed Description

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

Definition at line 473 of file thread.h.

Constructor & Destructor Documentation

spin_rw_mutex::read_lock_guard::read_lock_guard ( spin_rw_mutex fm)
inlinenoexcept

Definition at line 475 of file thread.h.

spin_rw_mutex::read_lock_guard::~read_lock_guard ( )
inlinenoexcept

Definition at line 476 of file thread.h.


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