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

Name

Description

folly::IOThreadPoolExecutorBase::IOObserver

Observer that is notified when EventBases are registered.

Member Functions

Name

Description

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

Name

Description

create

Creates an observer using the default deadlock detector factory.

Created with MrDocs