Home | History | Annotate | Download | only in test

Lines Matching refs:thread

63   BasicLockTestThread thread(&lock);
66 EXPECT_TRUE(PlatformThread::Create(&thread, &handle));
97 EXPECT_GE(thread.acquired(), 20);
129 // This thread will not be able to get the lock.
131 TryLockTestThread thread(&lock);
134 EXPECT_TRUE(PlatformThread::Create(&thread, &handle));
138 EXPECT_FALSE(thread.got_lock());
143 // This thread will....
145 TryLockTestThread thread(&lock);
148 EXPECT_TRUE(PlatformThread::Create(&thread, &handle));
152 EXPECT_TRUE(thread.got_lock());
167 // Static helper which can also be called from the main thread.
193 MutexLockTestThread thread(&lock, &value);
196 EXPECT_TRUE(PlatformThread::Create(&thread, &handle));