proxygen
|
Private Attributes | |
EventBase * | base_ |
bool | idled {false} |
Additional Inherited Members | |
![]() | |
typedef TimeoutManager::InternalEnum | InternalEnum |
![]() | |
template<typename TCallback > | |
static std::unique_ptr< AsyncTimeout > | make (TimeoutManager &manager, TCallback &&callback) |
template<typename TCallback > | |
static std::unique_ptr< AsyncTimeout > | schedule (TimeoutManager::timeout_type timeout, TimeoutManager &manager, TCallback &&callback) |
Definition at line 36 of file IOThreadPoolExecutor.cpp.
|
inlineexplicit |
Definition at line 38 of file IOThreadPoolExecutor.cpp.
|
inlineoverridevirtualnoexcept |
Implements folly::EventBase::LoopCallback.
Definition at line 44 of file IOThreadPoolExecutor.cpp.
References base_, count, folly::detail::MemoryIdler::defaultIdleTimeout, folly::detail::MemoryIdler::flushLocalMallocCaches(), folly::detail::MemoryIdler::getVariationTimeout(), idled, folly::detail::MemoryIdler::kDefaultStackToRetain, folly::AtomicStruct< T, Atom >::load(), folly::EventBase::runBeforeLoop(), folly::AsyncTimeout::scheduleTimeout(), and folly::detail::MemoryIdler::unmapUnusedStack().
|
inlineoverridevirtualnoexcept |
timeoutExpired() is invoked when the timeout period has expired.
Implements folly::AsyncTimeout.
Definition at line 40 of file IOThreadPoolExecutor.cpp.
References idled.
|
private |
Definition at line 66 of file IOThreadPoolExecutor.cpp.
Referenced by runLoopCallback().
|
private |
Definition at line 67 of file IOThreadPoolExecutor.cpp.
Referenced by runLoopCallback(), and timeoutExpired().