Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lastWakeup_ accounting in ThrottledLifoSem
Summary: `lastWakeup_` should be updated with the timestamp *after* the sleep, otherwise the next sleep will be 0. This means that currently only every other thread in a chain of wake-ups waits for the wakeup interval. Reviewed By: philippv Differential Revision: D38684505 fbshipit-source-id: 02f6e033083b58a8d878c73b087395938bd78327
- Loading branch information