rangeless::fn
rangeless::mt::lockables::atomic_mutex Class Reference

#include <fn.hpp>

Public Member Functions

bool try_lock () noexcept
 
void lock () noexcept
 
void unlock () noexcept
 

Protected Attributes

std::atomic< bool > m_locked = { false }
 

Detailed Description

Definition at line 6320 of file fn.hpp.

Member Function Documentation

◆ lock()

void rangeless::mt::lockables::atomic_mutex::lock ( )
inlinenoexcept

Definition at line 6332 of file fn.hpp.

◆ try_lock()

bool rangeless::mt::lockables::atomic_mutex::try_lock ( )
inlinenoexcept

Definition at line 6326 of file fn.hpp.

◆ unlock()

void rangeless::mt::lockables::atomic_mutex::unlock ( )
inlinenoexcept

Definition at line 6340 of file fn.hpp.

Member Data Documentation

◆ m_locked

std::atomic<bool> rangeless::mt::lockables::atomic_mutex::m_locked = { false }
protected

Definition at line 6323 of file fn.hpp.


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