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

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

Public Member Functions

constexpr SharedTimedMutex () noexcept=default
 SharedTimedMutex (const SharedTimedMutex &)=delete
SharedTimedMutex & operator= (const SharedTimedMutex &)=delete
GREM_ALWAYS_INLINE void lock ()
GREM_ALWAYS_INLINE bool try_lock ()
template<typename Rep, typename Period>
GREM_ALWAYS_INLINE bool try_lock_for (const DurationBase< Rep, Period > &timeoutDuration)
GREM_ALWAYS_INLINE bool try_lock_until (const TimePoint &timeoutTime)
GREM_ALWAYS_INLINE void unlock ()
GREM_ALWAYS_INLINE void lock_shared ()
GREM_ALWAYS_INLINE bool try_lock_shared ()
template<typename Rep, typename Period>
GREM_ALWAYS_INLINE bool try_lock_shared_for (const DurationBase< Rep, Period > &timeoutDuration)
GREM_ALWAYS_INLINE bool try_lock_shared_until (const TimePoint &timeoutTime)
GREM_ALWAYS_INLINE void unlock_shared ()

Constructor & Destructor Documentation

◆ SharedTimedMutex() [1/2]

grem::SharedTimedMutex::SharedTimedMutex ( )
constexprdefaultnoexcept

◆ SharedTimedMutex() [2/2]

grem::SharedTimedMutex::SharedTimedMutex ( const SharedTimedMutex & )
delete

Member Function Documentation

◆ operator=()

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

◆ lock()

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

◆ try_lock()

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

◆ try_lock_for()

template<typename Rep, typename Period>
GREM_ALWAYS_INLINE bool grem::SharedTimedMutex::try_lock_for ( const DurationBase< Rep, Period > & timeoutDuration)
inlinenodiscard

◆ try_lock_until()

GREM_ALWAYS_INLINE bool grem::SharedTimedMutex::try_lock_until ( const TimePoint & timeoutTime)
inlinenodiscard

◆ unlock()

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

◆ lock_shared()

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

◆ try_lock_shared()

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

◆ try_lock_shared_for()

template<typename Rep, typename Period>
GREM_ALWAYS_INLINE bool grem::SharedTimedMutex::try_lock_shared_for ( const DurationBase< Rep, Period > & timeoutDuration)
inlinenodiscard

◆ try_lock_shared_until()

GREM_ALWAYS_INLINE bool grem::SharedTimedMutex::try_lock_shared_until ( const TimePoint & timeoutTime)
inlinenodiscard

◆ unlock_shared()

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

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