Summary: EventBaseManager was moved to folly, we shouldn't have deps on apache
Test Plan: fbconfig -r folly/experimental/wangle/concurrency; fbmake runtests
Reviewed By: hans@fb.com
Subscribers: doug, fugalh, njormrod, folly-diffs@
FB internal diff:
D1636006
#include <folly/MoveWrapper.h>
#include <glog/logging.h>
-#include <thrift/lib/cpp/async/TEventBaseManager.h>
+#include <folly/io/async/EventBaseManager.h>
namespace folly { namespace wangle {
void IOThreadPoolExecutor::threadRun(ThreadPtr thread) {
const auto ioThread = std::static_pointer_cast<IOThread>(thread);
ioThread->eventBase =
- apache::thrift::async::TEventBaseManager::get()->getEventBase();
+ folly::EventBaseManager::get()->getEventBase();
thread->startupBaton.post();
while (ioThread->shouldRun) {
ioThread->eventBase->loopForever();