Decouple future and fiber for mobile
authorFrancis Ma <fma@fb.com>
Thu, 14 Jan 2016 22:07:21 +0000 (14:07 -0800)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Thu, 14 Jan 2016 23:20:27 +0000 (15:20 -0800)
commit138b7236d534088c9c437e2249d65a7aadea1c11
tree3a0d97118e56191a30340bddfd8711de4f3e4e6d
parent76dabfa29e70b460cd22065837821703ada32593
Decouple future and fiber for mobile

Summary:
folly::fibers have a bunch of dependencies that are shaky on mobiles.
Decoupling it by using folly::Baton instead of folly::fibers::Baton. Should have
zero effect on fbcode cases.

Reviewed By: djwatson, yfeldblum

Differential Revision: D2821603

fb-gh-sync-id: 0ce3472c9eedf97224e8584d25e04515396cd18e
folly/Baton.h
folly/futures/Future-inl.h
folly/futures/test/TimesTest.cpp
folly/futures/test/WaitTest.cpp
folly/futures/test/WhileDoTest.cpp