YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::MutexImpl< FIFO, Batching > Struct Template Reference

#include <mutex.hpp>

Inheritance diagram for yaclib::detail::MutexImpl< FIFO, Batching >:
[legend]

Public Member Functions

bool TryLockAwait () noexcept
 
bool AwaitLock (BaseCore &curr) noexcept
 
bool TryUnlockAwait () noexcept
 
YACLIB_INLINE bool BatchingPossible () const noexcept
 
void UnlockHereAwait () noexcept
 
auto AwaitUnlock (BaseCore &curr) noexcept
 
auto AwaitUnlockOn (BaseCore &curr, IExecutor &executor) noexcept
 
bool TryLock () noexcept
 
void UnlockHere () noexcept
 

Detailed Description

template<bool FIFO, bool Batching>
struct yaclib::detail::MutexImpl< FIFO, Batching >

Definition at line 16 of file mutex.hpp.

Member Function Documentation

◆ AwaitLock()

template<bool FIFO, bool Batching>
bool yaclib::detail::MutexImpl< FIFO, Batching >::AwaitLock ( BaseCore curr)
inlinenoexcept

Definition at line 24 of file mutex.hpp.

References yaclib::MakeContract().

◆ AwaitUnlock()

template<bool FIFO, bool Batching>
auto yaclib::detail::MutexImpl< FIFO, Batching >::AwaitUnlock ( BaseCore curr)
inlinenoexcept

◆ AwaitUnlockOn()

◆ BatchingPossible()

template<bool FIFO, bool Batching>
YACLIB_INLINE bool yaclib::detail::MutexImpl< FIFO, Batching >::BatchingPossible ( ) const
inlinenoexcept

Definition at line 52 of file mutex.hpp.

References yaclib::MakeContract().

◆ TryLock()

template<bool FIFO, bool Batching>
bool yaclib::detail::MutexImpl< FIFO, Batching >::TryLock ( )
inlinenoexcept

◆ TryLockAwait()

template<bool FIFO, bool Batching>
bool yaclib::detail::MutexImpl< FIFO, Batching >::TryLockAwait ( )
inlinenoexcept

Definition at line 17 of file mutex.hpp.

References yaclib::MakeContract().

Referenced by yaclib::detail::MutexImpl< FIFO, Batching >::TryLock().

◆ TryUnlockAwait()

template<bool FIFO, bool Batching>
bool yaclib::detail::MutexImpl< FIFO, Batching >::TryUnlockAwait ( )
inlinenoexcept

◆ UnlockHere()

◆ UnlockHereAwait()

template<bool FIFO, bool Batching>
void yaclib::detail::MutexImpl< FIFO, Batching >::UnlockHereAwait ( )
inlinenoexcept

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