folly::ExecutorBlockingGuard

Scoped guard that pushes an executor blocking context for its lifetime.

Synopsis

Declared in <folly/Executor.h>

class ExecutorBlockingGuard;

Types

NameDescription
PermitTag Tag selecting the constructor that permits blocking.
ProhibitTag Tag selecting the constructor that prohibits blocking.
TrackTag Tag selecting the constructor that tracks blocking.

Member Functions

NameDescription
ExecutorBlockingGuard [constructor]Constructors
~ExecutorBlockingGuard [destructor]Pops the blocking context pushed by this guard.
operator= Assignment operators