Commit 4a29942e authored by Dave Watson's avatar Dave Watson Committed by dcsommer

Remove some leftover apache paths

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
parent 23cf10c5
......@@ -18,7 +18,7 @@
#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 {
......@@ -72,7 +72,7 @@ IOThreadPoolExecutor::makeThread() {
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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment