fix synchronized/test/barrier condition variable predicate
Summary: From https://en.cppreference.com/w/cpp/thread/condition_variable/wait, predicate should return false if the waiting should be continued. In the current code, the logic is flipped. Reviewed By: yfeldblum Differential Revision: D18413606 fbshipit-source-id: 3b59efe49946a223204ab68fc9fbe3bb98e3b58e
Showing
Please register or sign in to comment