Searched refs:num_successful (Results 1 – 1 of 1) sorted by relevance
1354 std::atomic<size_t> num_successful; in SetAllocationLimitMultipleThreads() local1357 threads[i].reset(new std::thread([&num_running, &start_running, &num_successful] { in SetAllocationLimitMultipleThreads()1363 ++num_successful; in SetAllocationLimitMultipleThreads()1386 ASSERT_EQ(1U, num_successful) << "Only one thread should be able to set the limit."; in SetAllocationLimitMultipleThreads()