Introduce LifoSem
Summary: A LIFO semaphore is useful for building a thread pool because we can keep cpu caches warmer by continually reusing the last used thread. This diff introduces a LIFO semaphore to folly. Test Plan: unit tests Reviewed By: davejwatson@fb.com FB internal diff: D1280405
Showing
folly/LifoSem.cpp
0 → 100644
folly/LifoSem.h
0 → 100644
This diff is collapsed.
folly/test/LifoSemTests.cpp
0 → 100644
This diff is collapsed.
Please register or sign in to comment