split SmallLocks.h to get a larger portion of folly compiled on 32bit platforms
authorKjell Schubert <kschubert@fb.com>
Sat, 11 Jul 2015 16:12:08 +0000 (09:12 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 13 Jul 2015 18:16:59 +0000 (11:16 -0700)
commit406822b8462145dc26be2a1a837eda9c6706dfb2
tree8445b9528ce6084470b70d08ac6b30275e363b7e
parent5839c1b498fff818924032d340cb1ee7027a6c8b
split SmallLocks.h to get a larger portion of folly compiled on 32bit platforms

Summary: This is only a simple #include file split, no functional change was made. SmallLocks.h provides 2 classes: MicroSpinLock and PicoSpinLock, with the latter not being available on 32bit platforms. There are several classes in folly that included SmallLocks.h but only needed MicroSpinLock, these also refused to compile on 32bit, e.g. folly/futures/Future.h. Now these compile fine.

Reviewed By: @yfeldblum

Differential Revision: D2234263
folly/ConcurrentSkipList-inl.h
folly/ConcurrentSkipList.h
folly/Makefile.am
folly/MicroSpinLock.h [new file with mode: 0644]
folly/PicoSpinLock.h [new file with mode: 0644]
folly/SmallLocks.h
folly/detail/Sleeper.h [new file with mode: 0644]
folly/futures/detail/Core.h
folly/futures/detail/FSM.h