Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change uses of notify_all to notify_one in Hades
Summary: `std::condition_variable` has to use some extra bookkeeping to implement `notify_all`, which is more costly than `notify_one`, even if there's only a single other thread waiting on the variable. Since Hades only has two threads, and only one of them is waiting on the variable at a time, there's no need to notify more than a single thread. Reviewed By: neildhar Differential Revision: D23822972 fbshipit-source-id: 7ac5d2261b94e213407fb2293550f6b89c2d9df6
- Loading branch information