X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Fexperimental%2Fflat_combining%2Ftest%2FFlatCombiningTestHelpers.h;h=81007de7e6b4f349f6136a412cea44cc8ee1da34;hb=d4aacd244f21e76dce685365acc281a9015897c1;hp=07742e12078222e5cb3cd1e28e4874542b0e4420;hpb=2e0f52d25a6e165f406a922c2ab657b43e315eae;p=folly.git diff --git a/folly/experimental/flat_combining/test/FlatCombiningTestHelpers.h b/folly/experimental/flat_combining/test/FlatCombiningTestHelpers.h index 07742e12..81007de7 100644 --- a/folly/experimental/flat_combining/test/FlatCombiningTestHelpers.h +++ b/folly/experimental/flat_combining/test/FlatCombiningTestHelpers.h @@ -107,7 +107,7 @@ uint64_t fc_test( // test of exclusive access through a lock holder { std::unique_lock l; - ex.acquireExclusive(l); + ex.holdLock(l); CHECK(!mutex); mutex = true; VLOG(2) << tid << " " << ex.getVal() << " ..........."; @@ -220,5 +220,5 @@ uint64_t run_test( } } -} // namespace test { -} // namespace folly { +} // namespace test +} // namespace folly