proxygen
folly::SerialExecutor::Deleter Class Reference

#include <SerialExecutor.h>

Public Member Functions

 Deleter ()
 
void operator() (SerialExecutor *executor)
 

Private Member Functions

 Deleter (std::shared_ptr< Executor > parent)
 

Private Attributes

std::shared_ptr< Executorparent_
 

Friends

class SerialExecutor
 

Detailed Description

Definition at line 62 of file SerialExecutor.h.

Constructor & Destructor Documentation

folly::SerialExecutor::Deleter::Deleter ( )
inline

Definition at line 64 of file SerialExecutor.h.

64 {}
folly::SerialExecutor::Deleter::Deleter ( std::shared_ptr< Executor parent)
inlineexplicitprivate

Definition at line 72 of file SerialExecutor.h.

73  : parent_(std::move(parent)) {}
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
std::shared_ptr< Executor > parent_
folly::Function< void()> parent
Definition: AtFork.cpp:34

Member Function Documentation

void folly::SerialExecutor::Deleter::operator() ( SerialExecutor executor)
inline

Definition at line 66 of file SerialExecutor.h.

References folly::SerialExecutor::keepAliveRelease().

66  {
67  executor->keepAliveRelease();
68  }
PUSHMI_INLINE_VAR constexpr __adl::get_executor_fn executor

Friends And Related Function Documentation

friend class SerialExecutor
friend

Definition at line 71 of file SerialExecutor.h.

Referenced by folly::SerialExecutor::getNumPriorities().

Member Data Documentation

std::shared_ptr<Executor> folly::SerialExecutor::Deleter::parent_
private

Definition at line 75 of file SerialExecutor.h.

Referenced by folly::SerialExecutor::getNumPriorities().


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