YACLib
C++ library for concurrent tasks execution
|
#include <recursive_timed_mutex.hpp>
Public Member Functions | |
template<typename Rep , typename Period > | |
bool | try_lock_for (const std::chrono::duration< Rep, Period > &timeout_duration) |
template<typename Clock , typename Duration > | |
bool | try_lock_until (const std::chrono::time_point< Clock, Duration > &timeout_time) |
Public Member Functions inherited from yaclib::detail::fiber::RecursiveMutex | |
RecursiveMutex ()=default | |
~RecursiveMutex () noexcept=default | |
RecursiveMutex (const RecursiveMutex &)=delete | |
RecursiveMutex & | operator= (const RecursiveMutex &)=delete |
void | lock () |
bool | try_lock () noexcept |
void | unlock () noexcept |
native_handle_type | native_handle () |
Additional Inherited Members | |
Public Types inherited from yaclib::detail::fiber::RecursiveMutex | |
using | native_handle_type = void * |
Protected Member Functions inherited from yaclib::detail::fiber::RecursiveMutex | |
void | LockHelper () |
Protected Attributes inherited from yaclib::detail::fiber::RecursiveMutex | |
FiberQueue | _queue |
FiberBase::Id | _owner_id {0} |
std::uint32_t | _occupied_count {0} |
Definition at line 8 of file recursive_timed_mutex.hpp.
|
inline |
Definition at line 15 of file recursive_timed_mutex.hpp.
References yaclib::MakeContract().
|
inline |
Definition at line 20 of file recursive_timed_mutex.hpp.
References yaclib::MakeContract().