YACLib
C++ library for concurrent tasks execution
|
#include <mutex_event.hpp>
Public Types | |
using | Token = std::unique_lock< yaclib_std::mutex > |
Public Member Functions | |
Token | Make () noexcept |
void | Wait (Token &token) noexcept |
template<typename Rep , typename Period > | |
bool | Wait (Token &token, const std::chrono::duration< Rep, Period > &timeout_duration) noexcept |
template<typename Clock , typename Duration > | |
bool | Wait (Token &token, const std::chrono::time_point< Clock, Duration > &timeout_time) noexcept |
void | Set () noexcept |
void | Reset () noexcept |
Definition at line 11 of file mutex_event.hpp.
using yaclib::detail::MutexEvent::Token = std::unique_lock<yaclib_std::mutex> |
Definition at line 13 of file mutex_event.hpp.
|
noexcept |
Definition at line 5 of file mutex_event.cpp.
Referenced by yaclib::OneShotEvent::Wait().
|
noexcept |
Definition at line 21 of file mutex_event.cpp.
|
noexcept |
Definition at line 15 of file mutex_event.cpp.
Referenced by yaclib::OneShotEvent::TimedWaiter::Call().
Definition at line 9 of file mutex_event.cpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 20 of file mutex_event.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 27 of file mutex_event.hpp.
References yaclib::MakeContract().