Home | History | Annotate | Download | only in core

Lines Matching refs:counter

30   int counter = 0;
33 thread_pool->Schedule([&start, &proceed, &counter] {
36 ++counter;
43 EXPECT_EQ(0, counter);
50 // Verify the counter has been incremented
51 EXPECT_EQ(1, counter);
60 int counter = 0;
64 thread_pool->Schedule([&n, &lock, &counter] {
67 ++counter;
74 EXPECT_EQ(0, counter);
78 EXPECT_EQ(4, counter);