Flat combining: Add lock holder with deferred option. Minor fixes.
authorMaged Michael <magedmichael@fb.com>
Thu, 27 Apr 2017 13:59:10 +0000 (06:59 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 27 Apr 2017 14:09:13 +0000 (07:09 -0700)
commitb73507bb0f91c1593705f4ff0746c1ff93ed5762
tree1dd64011100898ba4b773362f32d502cfd0b90bd
parentd2efd8104d4191f67140ecdbd5343ba05552f083
Flat combining: Add lock holder with deferred option. Minor fixes.

Summary: Added a lock holder with deferred option for cases where the caller may want to call try_lock() later.

Reviewed By: djwatson

Differential Revision: D4949736

fbshipit-source-id: 31e0dc349dc3af9d04a33878e26cef1e48cce674
folly/experimental/flat_combining/FlatCombining.h
folly/experimental/flat_combining/test/FlatCombiningTest.cpp
folly/experimental/flat_combining/test/FlatCombiningTestHelpers.h