// test of exclusive access through a lock holder
{
std::unique_lock<Mutex> l;
- ex.acquireExclusive(l);
+ ex.holdLock(l);
CHECK(!mutex);
mutex = true;
VLOG(2) << tid << " " << ex.getVal() << " ...........";
}
}
-} // namespace test {
-} // namespace folly {
+} // namespace test
+} // namespace folly