Bool based mutex. More...
Public Member Functions | |
| bool_mutex (bool_mutex const &)=delete | |
| bool_mutex & | operator= (bool_mutex const &)=delete | 
| void | lock (void) | 
| void | unlock (void) | 
| bool | try_lock (void) noexcept | 
| bool | is_locked (void) const noexcept | 
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. 
 1.8.13