69 if (info ==
nullptr) {
102 template <
typename FunctionType>
EventBase * getEventBase() const
EventBaseInfo(EventBase *evb, bool owned)
EventBase * getExistingEventBase() const
void setEventBase(EventBase *eventBase, bool takeOwnership)
void withEventBaseSet(const FunctionType &runnable)
—— Concurrent Priority Queue Implementation ——
void untrackEventBase(EventBase *evb)
std::shared_ptr< folly::EventBaseObserver > observer_
EventBaseManager & operator=(EventBaseManager const &)
folly::ThreadLocalPtr< EventBaseInfo > localStore_
std::mutex eventBaseSetMutex_
EventBaseManager(const std::shared_ptr< EventBaseObserver > &observer)
std::set< EventBase * > eventBaseSet_
void trackEventBase(EventBase *evb)