~smspillaz/folly/folly-git-master

Viewing all changes in revision 7294.

  • Committer: Facebook Github Bot
  • Author(s): Yedidya Feldblum
  • Date: 2019-06-20 10:01:06 UTC
  • Revision ID: git-v1:c8f7015f8e56b6105ce1efec5b0e402772aa6463
Use the portable test semaphore in DeterministicSchedule

Summary: [Folly] Use the portable test semaphore in `DeterministicSchedule`, v.s. `sem_t` which is not portable everywhere. The portable test semaphore is implemented purely in terms of `std::mutex` and `std::condition_variable`, and is therefore portable.

Reviewed By: nbronson

Differential Revision: D15909982

fbshipit-source-id: 63b3e5d16864ffee9fad20bd2ad46730fba220dd

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: