Lines Matching refs:thread
81 DelegateSimpleThread thread(&runner, "int_setter"); in TEST() local
82 EXPECT_FALSE(thread.HasBeenStarted()); in TEST()
83 EXPECT_FALSE(thread.HasBeenJoined()); in TEST()
86 thread.Start(); in TEST()
87 EXPECT_TRUE(thread.HasBeenStarted()); in TEST()
88 EXPECT_FALSE(thread.HasBeenJoined()); in TEST()
90 thread.Join(); in TEST()
91 EXPECT_TRUE(thread.HasBeenStarted()); in TEST()
92 EXPECT_TRUE(thread.HasBeenJoined()); in TEST()
101 DelegateSimpleThread thread(&runner, "event_waiter"); in TEST() local
104 thread.Start(); in TEST()
107 thread.Join(); in TEST()
115 DelegateSimpleThread thread(&runner, "event_waiter", options); in TEST() local
116 EXPECT_EQ(thread.name_prefix(), "event_waiter"); in TEST()
119 thread.Start(); in TEST()
120 EXPECT_EQ(thread.name_prefix(), "event_waiter"); in TEST()
121 EXPECT_EQ(thread.name(), in TEST()
122 std::string("event_waiter/") + IntToString(thread.tid())); in TEST()
126 thread.Join(); in TEST()
129 EXPECT_EQ(thread.name_prefix(), "event_waiter"); in TEST()
130 EXPECT_EQ(thread.name(), in TEST()
131 std::string("event_waiter/") + IntToString(thread.tid())); in TEST()