folly::IOThreadPoolDeadlockDetectorObserver

Observer that attaches a deadlock detector to each event base of an IO thread pool.

Synopsis

Declared in <folly/executors/IOThreadPoolDeadlockDetectorObserver.h>

class IOThreadPoolDeadlockDetectorObserver
    : public folly::IOThreadPoolExecutorBase::IOObserver

Base Classes

NameDescription
folly::IOThreadPoolExecutorBase::IOObserverObserver that is notified when EventBases are registered.

Member Functions

NameDescription
IOThreadPoolDeadlockDetectorObserver [constructor]Constructs the observer.
registerEventBase registerEventBase overloads
threadNotYetStopped [virtual]Called for a thread that has not yet stopped when this observer is removed.
threadPreviouslyStarted [virtual]Called for a thread that started before this observer was added.
threadStarted [virtual]Called when a thread has started.
threadStopped [virtual]Called when a thread has stopped.
unregisterEventBase unregisterEventBase overloads

Static Member Functions

NameDescription
create Creates an observer using the default deadlock detector factory.