proxygen
|
#include <BlockingWait.h>
Classes | |
struct | FinalAwaiter |
Public Member Functions | |
BlockingWaitPromiseBase () noexcept=default | |
std::experimental::suspend_always | initial_suspend () |
FinalAwaiter | final_suspend () noexcept |
Protected Member Functions | |
void | wait () noexcept |
Private Attributes | |
folly::fibers::Baton | baton_ |
Definition at line 37 of file BlockingWait.h.
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 58 of file BlockingWait.h.
Referenced by folly::coro::detail::BlockingWaitPromise< T & >::yield_value().
|
inline |
Definition at line 54 of file BlockingWait.h.
|
inlineprotectednoexcept |
Definition at line 63 of file BlockingWait.h.
References baton_, and folly::fibers::Baton::wait().
Referenced by folly::coro::detail::BlockingWaitPromise< T >::getAsTry(), folly::coro::detail::BlockingWaitPromise< T & >::getAsTry(), and folly::coro::detail::BlockingWaitPromise< void >::getAsTry().
|
private |
Definition at line 68 of file BlockingWait.h.
Referenced by folly::coro::detail::BlockingWaitPromiseBase::FinalAwaiter::await_suspend(), and wait().