Use MemoryIdler in SaturatingSemaphore
Summary: [Folly] Use `MemoryIdler` in `SaturatingSemaphore`. As is used in `Baton`. And merge the two invocations of `futexWait` and `futexWaitUntil` - `futexWaitUntil` also tests for the max-deadline internally. Reviewed By: djwatson Differential Revision: D6720045 fbshipit-source-id: a48187a6c866dbf99bb5c7283e0288b939bef2e5
Showing
Please register or sign in to comment