18 #if FOLLY_HAS_COROUTINES 25 using namespace folly;
45 bool reachedBeforeAwait =
false;
46 bool reachedAfterAwait =
false;
49 reachedBeforeAwait =
true;
51 reachedAfterAwait =
true;
56 CHECK(!reachedBeforeAwait);
57 CHECK(!reachedAfterAwait);
61 CHECK(reachedBeforeAwait);
62 CHECK(!reachedAfterAwait);
66 CHECK(reachedAfterAwait);
constexpr detail::Map< Move > move
—— Concurrent Priority Queue Implementation ——
FOLLY_ATTR_VISIBILITY_HIDDEN static FOLLY_ALWAYS_INLINE InlineExecutor & instance() noexcept
bool ready() const noexcept
Query whether the Baton is currently in the signalled state.
TEST(SequencedExecutor, CPUThreadPoolExecutor)