Added fiber-compatible semaphore.
Summary: Adds a standard semaphore type with signal and wait methods that is safe to use in both multi-threaded contexts and from fibers. Reviewed By: andriigrynenko Differential Revision: D3778943 fbshipit-source-id: 6997f1fb870739e07f982399dbebfd8b3e45daa2
Showing
folly/fibers/Semaphore.cpp
0 → 100644
folly/fibers/Semaphore.h
0 → 100644
Please register or sign in to comment