示例#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(); }
示例#2
0
	void operator()() { for (int i = 0; i < 100000; i++) monitor->SetValue(monitor->GetInt32Value() + 1); }