YACLib
C++ library for concurrent tasks execution
|
Public only because Waiter is public. More...
#include <one_shot_event.hpp>
Public Member Functions | |
void | Call () noexcept final |
Public Member Functions inherited from yaclib::Job | |
virtual void | Drop () noexcept |
Public Member Functions inherited from yaclib::IRef | |
virtual void | IncRef () noexcept |
Increments reference counter. | |
virtual void | DecRef () noexcept |
Decrements reference counter. | |
virtual | ~IRef () noexcept=default |
Public Member Functions inherited from yaclib::detail::MutexEvent | |
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 |
Additional Inherited Members | |
Public Types inherited from yaclib::detail::MutexEvent | |
using | Token = std::unique_lock< yaclib_std::mutex > |
Public Attributes inherited from yaclib::detail::Node | |
Node * | next = nullptr |
Public only because Waiter is public.
Definition at line 225 of file one_shot_event.hpp.
|
inlinefinalvirtualnoexcept |
Reimplemented from yaclib::IFunc.
Definition at line 226 of file one_shot_event.hpp.
References yaclib::IRef::DecRef(), and yaclib::detail::MutexEvent::Set().