proxygen
|
Public Member Functions | |
template<typename Arg > | |
FOLLY_ALWAYS_INLINE void | putItem (Arg &&arg) |
FOLLY_ALWAYS_INLINE void | takeItem (T &item) noexcept |
FOLLY_ALWAYS_INLINE folly::Optional< T > | takeItem () noexcept |
FOLLY_ALWAYS_INLINE const T * | peekItem () noexcept |
template<typename Clock , typename Duration > | |
FOLLY_ALWAYS_INLINE bool | tryWaitUntil (const std::chrono::time_point< Clock, Duration > &deadline) noexcept |
FOLLY_ALWAYS_INLINE void | destroyItem () noexcept |
Private Member Functions | |
FOLLY_ALWAYS_INLINE void | getItem (T &item) noexcept |
FOLLY_ALWAYS_INLINE folly::Optional< T > | getItem () noexcept |
FOLLY_ALWAYS_INLINE T * | itemPtr () noexcept |
Private Attributes | |
folly::SaturatingSemaphore< MayBlock, Atom > | flag_ |
std::aligned_storage< sizeof(T), alignof(T)>::type | item_ |
Definition at line 744 of file UnboundedQueue.h.
|
inlinenoexcept |
Definition at line 779 of file UnboundedQueue.h.
|
inlineprivatenoexcept |
Definition at line 784 of file UnboundedQueue.h.
References folly::gen::move.
|
inlineprivatenoexcept |
Definition at line 789 of file UnboundedQueue.h.
References folly::gen::move.
|
inlineprivatenoexcept |
Definition at line 795 of file UnboundedQueue.h.
References folly::T.
|
inlinenoexcept |
Definition at line 765 of file UnboundedQueue.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::wait().
|
inline |
Definition at line 750 of file UnboundedQueue.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::post(), and folly::T.
|
inlinenoexcept |
Definition at line 755 of file UnboundedQueue.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::wait().
|
inlinenoexcept |
Definition at line 760 of file UnboundedQueue.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::wait().
|
inlinenoexcept |
Definition at line 771 of file UnboundedQueue.h.
References folly::SaturatingSemaphore< MayBlock, Atom >::try_wait_until(), and folly::SaturatingSemaphore< MayBlock, Atom >::wait_options().
|
private |
Definition at line 745 of file UnboundedQueue.h.
|
private |
Definition at line 746 of file UnboundedQueue.h.