Home | History | Annotate | Download | only in thread.condition.condvar

Lines Matching refs:test2

29 std::atomic_int test2(0);
44 assert(test2 == 0);
45 while (test2 == 0)
47 assert(test2 == 1);
48 test2 = 2;
59 test2 = 1;
68 assert(test2 == 1);
72 else if (test2 == 2)
76 test2 = 0;
87 assert(test2 == 0);
91 else if (test2 == 2)
95 test2 = 0;