Adding portability to gating PicoSpinLock.
authorMichael Lee <mzlee@fb.com>
Fri, 11 Mar 2016 00:50:53 +0000 (16:50 -0800)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Fri, 11 Mar 2016 01:05:20 +0000 (17:05 -0800)
commitb1eb6819f3ffe6b645f39d505ca8ace3116b7873
tree8b514948c07b926d8838b2745f3a965d9c349d43
parent321359e0cb441c65748427e2ef49b162340bbe04
Adding portability to gating PicoSpinLock.

Summary:PicoSpinLock only works on x86_64, Arm64, and ppc64 (i.e.,
not 32-bit).  Add a bit of gating so we can continue to run tests and
use headers when compiling for i386.

Reviewed By: yfeldblum

Differential Revision: D2991328

fb-gh-sync-id: b0d0c229508f65dff62b24fdd9d80c799cd97935
shipit-source-id: b0d0c229508f65dff62b24fdd9d80c799cd97935
folly/PicoSpinLock.h
folly/SmallLocks.h
folly/test/SmallLocksTest.cpp