STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::runtime::bool_mutex Class Reference

Bool based mutex. More...

Public Member Functions

 bool_mutex (bool_mutex const &)=delete
 
bool_mutexoperator= (bool_mutex const &)=delete
 
void lock (void)
 
void unlock (void)
 
bool try_lock (void) noexcept
 
bool is_locked (void) const noexcept
 

Detailed Description

Bool based mutex.

This is an object that follows the concept of a std::mutex however it does not guarantee thread safety. Example use case is protecting against function re-entrancy.


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