Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
wmtk::threading::spin_mutex Class Reference

Public Member Functions

 spin_mutex (const spin_mutex &) noexcept
 
 spin_mutex (spin_mutex &&) noexcept
 
spin_mutexoperator= (const spin_mutex &) noexcept
 
spin_mutexoperator= (spin_mutex &&) noexcept
 
void lock ()
 
bool try_lock ()
 
void unlock ()
 

Private Attributes

std::atomic< bool > m_locked {false}
 

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