prepare for folly::Executor taking folly::Function
authorSven Over <over@fb.com>
Fri, 12 Aug 2016 09:01:54 +0000 (02:01 -0700)
committerFacebook Github Bot 3 <facebook-github-bot-3-bot@fb.com>
Fri, 12 Aug 2016 09:08:37 +0000 (02:08 -0700)
commit4cf30a1441af267ee42ab2fc9976dc3332f36ed8
tree3288acaaf6b3adfb8edb5df36b2352d10dd129c8
parentc44bb6203a6c72aaa9ce93d736c3405b4ffef761
prepare for folly::Executor taking folly::Function

Summary:
A bunch of small changes that are necessary before we change
the definition of folly::Func from std::function<void()> to
folly::Function<void()>.

Reviewed By: yfeldblum, mzlee

Differential Revision: D3706210

fbshipit-source-id: 198d8a391ef6f545ad4411d316ba9e271ea795e3
folly/futures/ManualExecutor.cpp
folly/futures/ManualExecutor.h
folly/futures/QueuedImmediateExecutor.cpp
folly/futures/test/ViaTest.cpp
folly/io/async/EventBase.h
folly/test/SingletonTest.cpp