Extract WaitOptions
Summary: [Folly] Extract `WaitOptions` from `SaturatingSemaphore`. This type may prove useful in the future for a variety of similar cases, and so does not need to be locked up inside `SaturatingSemaphore`. Additionally: * Extract and redraft a comment from `Baton`. * Rename `pre_block` to `spin_max`. Reviewed By: djwatson, aary Differential Revision: D6632875 fbshipit-source-id: 6b7faeeb6e1ac2011a037c2b560def0ee2e9f3d4
Showing
Please register or sign in to comment