Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/common/libs/threads/
Dcuttlefish_thread_test.cpp104 NotifyOneTest() : cond_(&mutex_), signalled_(0) {} in NotifyOneTest()
116 << signalled_ in Run()
118 << ((signalled_ == 2) ? "PASSED" : "FAILED"); in Run()
129 CHECK(signalled_== 1); in SignalThread()
134 CHECK(signalled_ == 2); in SignalThread()
142 signalled_++; in WaitThread()
149 int signalled_; member in NotifyOneTest
154 NotifyAllTest() : cond_(&mutex_), signalled_(0) {} in NotifyAllTest()
166 signalled_, (signalled_ == 2) ? "PASSED" : "FAILED"); in Run()
177 CHECK(signalled_ == 2); in SignalThread()
[all …]