Switch to the try_wait_for and try_wait_until Baton APIs
authorYedidya Feldblum <yfeldblum@fb.com>
Tue, 12 Dec 2017 06:10:59 +0000 (22:10 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 12 Dec 2017 06:21:04 +0000 (22:21 -0800)
commita674aa6cee470969ddecd340154002cf1d3efc1c
tree25f4b227d6692a7458791f7a1e86d953393a5cca
parenteb7bc45f22e034751a76bf02445c669471e60780
Switch to the try_wait_for and try_wait_until Baton APIs

Summary: Switch to the `try_wait_for` and `try_wait_until` `Baton` APIs.

Reviewed By: davidtgoldblatt

Differential Revision: D6532103

fbshipit-source-id: aa3ce64152d167bb9c9cb1f266be0f9f8bd498f5
folly/Singleton-inl.h
folly/Singleton.h
folly/experimental/observer/test/ObserverTest.cpp
folly/experimental/test/FunctionSchedulerTest.cpp
folly/futures/Future-inl.h
folly/futures/test/InterruptTest.cpp
folly/io/async/test/EventBaseThreadTest.cpp
folly/io/async/test/ScopedEventBaseThreadTest.cpp
folly/synchronization/test/BatonTest.cpp
folly/synchronization/test/BatonTestHelpers.h