proxygen
FiberManagerMap.cpp File Reference
#include <folly/fibers/FiberManagerMap.h>
#include <memory>
#include <unordered_map>
#include <folly/Synchronized.h>
#include <folly/ThreadLocal.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::fibers
 

Functions

FiberManager & folly::fibers::getFiberManager (EventBase &evb, const FiberManager::Options &opts)
 
FiberManager & folly::fibers::getFiberManager (VirtualEventBase &evb, const FiberManager::Options &opts)
 

Variable Documentation

bool eraseAll {false}

Definition at line 165 of file FiberManagerMap.cpp.

folly::Synchronized<EraseInfo> eraseInfo_
private

Definition at line 169 of file FiberManagerMap.cpp.

std::vector<EventBaseT*> eraseList

Definition at line 166 of file FiberManagerMap.cpp.

std::atomic<bool> eraseRequested_ {false}
private

Definition at line 162 of file FiberManagerMap.cpp.

EventBaseT& evb_
private

Definition at line 36 of file FiberManagerMap.cpp.

std::unordered_map<EventBaseT*, FiberManager*> map_
private

Definition at line 88 of file FiberManagerMap.cpp.

std::mutex mutex_
private

Definition at line 87 of file FiberManagerMap.cpp.