Home
last modified time | relevance | path

Searched refs:num_successful (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dmalloc_test.cpp1354 std::atomic<size_t> num_successful; in SetAllocationLimitMultipleThreads() local
1357 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()