Easy SIOF-proofing
authorBen Maurer <bmaurer@fb.com>
Mon, 28 Sep 2015 17:58:44 +0000 (10:58 -0700)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Mon, 28 Sep 2015 18:20:20 +0000 (11:20 -0700)
commit739bdb1ca0e3e1218d4571e15ec72e1dcfd3eb36
treebd57d410a86c589e961ed104a0fb71559a75765a
parent8f1e662a59dec3476bf626b283effaa8a88acdd5
Easy SIOF-proofing

Summary: These classes are likely to be used as static variables and can
easily be constructed with constexpr.

One that we really ought to fix is SpinLock. Sadly we have a bunch of
implementations of it some of which need initialization.

Reviewed By: @meyering

Differential Revision: D2459355
folly/Baton.h
folly/LifoSem.h
folly/RWSpinLock.h
folly/SharedMutex.h