Split Baton wait methods into fast and slow paths
authorYedidya Feldblum <yfeldblum@fb.com>
Sat, 9 Dec 2017 17:50:25 +0000 (09:50 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 9 Dec 2017 18:05:27 +0000 (10:05 -0800)
commitbca34971c398bb8f5f258dba57206068bfd29937
tree50cbeaa55d8685fe5aa2b12a0ccd049eb2b6ca13
parent2d3c33462242cada87a857143101cd99cd94b8f8
Split Baton wait methods into fast and slow paths

Summary:
[Folly] Split `Baton` wait methods into fast and slow paths.

Force-inline the fast paths, and force-outline the slow paths.

Reviewed By: magedm

Differential Revision: D6501992

fbshipit-source-id: 611e26b3cfeef01eb8d3a3500ae3ebc26bee6e86
folly/synchronization/Baton.h