22 using namespace folly;
27 auto executor = std::make_unique<TestExecutor>(4);
28 const auto numThreads =
executor->numThreads();
30 for (
auto idx = 0U; idx < numThreads * 10; ++idx) {
32 this_thread::sleep_for(milliseconds(100));
33 lock_guard<mutex> lg(m);
34 ids.insert(this_thread::get_id());
#define EXPECT_EQ(val1, val2)
TEST(TestExecutor, parallel_run)
—— Concurrent Priority Queue Implementation ——
PUSHMI_INLINE_VAR constexpr __adl::get_executor_fn executor
static map< string, int > m