21 using namespace folly;
24 static constexpr
size_t lambdaBufSize = 8 *
sizeof(
void*);
29 std::atomic<futures::detail::State> state_;
30 std::atomic<unsigned char> attached_;
31 std::atomic<bool> interruptHandlerSet_;
35 std::shared_ptr<RequestContext> context_;
36 std::unique_ptr<exception_wrapper> interrupt_;
37 std::function<void(exception_wrapper const&)> interruptHandler_;
SpinLock is and must stay a 1-byte object because of how Core is laid out.
—— Concurrent Priority Queue Implementation ——
#define EXPECT_GE(val1, val2)
constexpr auto size(C const &c) -> decltype(c.size())
folly::Function< void()> callback_
TEST(SequencedExecutor, CPUThreadPoolExecutor)