YACLib
C++ library for concurrent tasks execution
|
#include <mutex.hpp>
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 |
|
inlinenoexcept |
Definition at line 24 of file mutex.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 63 of file mutex.hpp.
References yaclib::detail::BaseCore::_executor, yaclib::MakeContract(), yaclib::IntrusivePtr< T >::Swap(), YACLIB_ASSERT, and YACLIB_TRANSFER.
|
inlinenoexcept |
Definition at line 74 of file mutex.hpp.
References yaclib::detail::BaseCore::_executor, yaclib::MakeContract(), yaclib::IExecutor::Submit(), yaclib::detail::MutexImpl< FIFO, Batching >::TryUnlockAwait(), YACLIB_ASSERT, YACLIB_SUSPEND, and YACLIB_TRANSFER.
|
inlinenoexcept |
Definition at line 52 of file mutex.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 97 of file mutex.hpp.
References 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().
|
inlinenoexcept |
Definition at line 42 of file mutex.hpp.
References yaclib::MakeContract(), and YACLIB_ASSERT.
Referenced by yaclib::detail::MutexImpl< FIFO, Batching >::AwaitUnlockOn(), and yaclib::detail::MutexImpl< FIFO, Batching >::UnlockHere().
|
inlinenoexcept |
Definition at line 101 of file mutex.hpp.
References yaclib::detail::MutexImpl< FIFO, Batching >::TryUnlockAwait(), and yaclib::detail::MutexImpl< FIFO, Batching >::UnlockHereAwait().
|
inlinenoexcept |
Definition at line 56 of file mutex.hpp.
References yaclib::detail::BaseCore::_executor, and yaclib::IExecutor::Submit().
Referenced by yaclib::detail::MutexImpl< FIFO, Batching >::UnlockHere().