Esempio n. 1
0
	int operator()() { if (expected >= 0) EXPECT_EQ(expected, monitor->GetInt32Value()); for (int i = 0; i < 100; i++) monitor->SetValue(monitor->GetInt32Value() + 1); return monitor->GetInt32Value(); }
Esempio n. 2
0
	void operator()() { for (int i = 0; i < 100000; i++) monitor->SetValue(monitor->GetInt32Value() + 1); }