YACLib
C++ library for concurrent tasks execution
|
#include <shared_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) |
template<typename Rep , typename Period > | |
bool | try_lock_shared_for (const std::chrono::duration< Rep, Period > &timeout_duration) |
template<typename Clock , typename Duration > | |
bool | try_lock_shared_until (const std::chrono::time_point< Clock, Duration > &timeout_time) |
Public Member Functions inherited from yaclib::detail::SharedMutex< Impl > | |
void | lock_shared () |
bool | try_lock_shared () |
void | unlock_shared () |
Public Member Functions inherited from yaclib::detail::Mutex< Impl > | |
void | lock () |
bool | try_lock () |
void | unlock () |
impl_t & | GetImpl () |
Additional Inherited Members | |
Public Types inherited from yaclib::detail::Mutex< Impl > | |
using | impl_t = Impl |
Internal. | |
Definition at line 13 of file shared_timed_mutex.hpp.
|
inline |
Definition at line 20 of file shared_timed_mutex.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inline |
Definition at line 32 of file shared_timed_mutex.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inline |
Definition at line 38 of file shared_timed_mutex.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.
|
inline |
Definition at line 26 of file shared_timed_mutex.hpp.
References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.