YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::fiber::FiberQueue Class Referencefinal

#include <queue.hpp>

Public Member Functions

 FiberQueue () noexcept=default
 
 FiberQueue (FiberQueue &&other)=default
 
FiberQueueoperator= (FiberQueue &&other) noexcept
 
WaitStatus Wait (NoTimeoutTag)
 
template<typename Rep , typename Period >
WaitStatus Wait (const std::chrono::duration< Rep, Period > &duration)
 
template<typename Clock , typename Duration >
WaitStatus Wait (const std::chrono::time_point< Clock, Duration > &time_point)
 
void NotifyAll ()
 
void NotifyOne ()
 
bool Empty () const noexcept
 
 ~FiberQueue ()
 

Detailed Description

Definition at line 14 of file queue.hpp.

Constructor & Destructor Documentation

◆ FiberQueue() [1/2]

yaclib::detail::fiber::FiberQueue::FiberQueue ( )
defaultnoexcept

◆ FiberQueue() [2/2]

yaclib::detail::fiber::FiberQueue::FiberQueue ( FiberQueue &&  other)
default

◆ ~FiberQueue()

yaclib::detail::fiber::FiberQueue::~FiberQueue ( )

Definition at line 29 of file queue.cpp.

References yaclib::detail::fiber::BiList::Empty(), and YACLIB_DEBUG.

Member Function Documentation

◆ Empty()

bool yaclib::detail::fiber::FiberQueue::Empty ( ) const
noexcept

◆ NotifyAll()

void yaclib::detail::fiber::FiberQueue::NotifyAll ( )

◆ NotifyOne()

◆ operator=()

FiberQueue & yaclib::detail::fiber::FiberQueue::operator= ( FiberQueue &&  other)
noexcept

Definition at line 33 of file queue.cpp.

References yaclib::MakeContract().

◆ Wait() [1/3]

template<typename Rep , typename Period >
WaitStatus yaclib::detail::fiber::FiberQueue::Wait ( const std::chrono::duration< Rep, Period > &  duration)
inline

Definition at line 23 of file queue.hpp.

References yaclib::detail::fiber::SystemClock::now(), and Wait().

◆ Wait() [2/3]

WaitStatus yaclib::detail::fiber::FiberQueue::Wait ( const std::chrono::time_point< Clock, Duration > &  time_point)
inline

◆ Wait() [3/3]


The documentation for this class was generated from the following files: