proxygen
folly::IOThreadPoolExecutor::IOThread Struct Reference
Inheritance diagram for folly::IOThreadPoolExecutor::IOThread:

Public Member Functions

 IOThread (IOThreadPoolExecutor *pool)
 

Public Attributes

std::atomic< bool > shouldRun
 
std::atomic< size_t > pendingTasks
 
folly::EventBaseeventBase
 
std::mutex eventBaseShutdownMutex_
 

Detailed Description

Definition at line 76 of file IOThreadPoolExecutor.h.

Constructor & Destructor Documentation

folly::IOThreadPoolExecutor::IOThread::IOThread ( IOThreadPoolExecutor pool)
inline

Definition at line 78 of file IOThreadPoolExecutor.h.

79  : Thread(pool), shouldRun(true), pendingTasks(0) {}

Member Data Documentation

folly::EventBase* folly::IOThreadPoolExecutor::IOThread::eventBase
std::mutex folly::IOThreadPoolExecutor::IOThread::eventBaseShutdownMutex_

Definition at line 83 of file IOThreadPoolExecutor.h.

std::atomic<size_t> folly::IOThreadPoolExecutor::IOThread::pendingTasks
std::atomic<bool> folly::IOThreadPoolExecutor::IOThread::shouldRun

Definition at line 80 of file IOThreadPoolExecutor.h.

Referenced by folly::IOThreadPoolExecutor::stopThreads().


The documentation for this struct was generated from the following file: