GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::SharedMutex Class Reference

#include <GREM/core/system/synchronization.hpp>

Public Member Functions

constexpr SharedMutex () noexcept=default
 SharedMutex (const SharedMutex &)=delete
SharedMutex & operator= (const SharedMutex &)=delete
GREM_ALWAYS_INLINE void lock ()
GREM_ALWAYS_INLINE bool try_lock ()
GREM_ALWAYS_INLINE void unlock ()
GREM_ALWAYS_INLINE void lock_shared ()
GREM_ALWAYS_INLINE bool try_lock_shared ()
GREM_ALWAYS_INLINE void unlock_shared ()

Constructor & Destructor Documentation

◆ SharedMutex() [1/2]

grem::SharedMutex::SharedMutex ( )
constexprdefaultnoexcept

◆ SharedMutex() [2/2]

grem::SharedMutex::SharedMutex ( const SharedMutex & )
delete

Member Function Documentation

◆ operator=()

SharedMutex & grem::SharedMutex::operator= ( const SharedMutex & )
delete

◆ lock()

GREM_ALWAYS_INLINE void grem::SharedMutex::lock ( )
inline

◆ try_lock()

GREM_ALWAYS_INLINE bool grem::SharedMutex::try_lock ( )
inlinenodiscard

◆ unlock()

GREM_ALWAYS_INLINE void grem::SharedMutex::unlock ( )
inline

◆ lock_shared()

GREM_ALWAYS_INLINE void grem::SharedMutex::lock_shared ( )
inline

◆ try_lock_shared()

GREM_ALWAYS_INLINE bool grem::SharedMutex::try_lock_shared ( )
inlinenodiscard

◆ unlock_shared()

GREM_ALWAYS_INLINE void grem::SharedMutex::unlock_shared ( )
inline

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