Add MicroLock as an alternative to MicroSpinLock
Summary:MicroLock is a full-featured lock that fills the niche that MicroSpinLock and PicoSpinLock currently inhabit. Unlike these two classes, MicroLock is a sleeping lock. MicroLock requires two bits of a single word and has no particular alignment requirements. Reviewed By: ot Differential Revision: D3004474 fb-gh-sync-id: a9bd28bd3f48e894d5bff407612ee4b228466209 shipit-source-id: a9bd28bd3f48e894d5bff407612ee4b228466209
Showing
folly/MicroLock.cpp
0 → 100644
folly/MicroLock.h
0 → 100644
Please register or sign in to comment