folly::getEventBase

methodset Deprecated

Synopsis

Declared in <folly/executors/GlobalExecutor.h>

[[deprecated("getEventBase is deprecated. To use the global mutable executor use getUnsafeMutableGlobalEventBase. For a better solution use getGlobalIOExecutor and request the EventBase from there.")]]
folly::EventBase*
getEventBase();

WARNING

Deprecated: getEventBase is deprecated. To use the global mutable executor use getUnsafeMutableGlobalEventBase. For a better solution use getGlobalIOExecutor and request the EventBase from there.. Use of this entity is allowed but discouraged.

Description

To use the global mutable executor use getUnsafeMutableGlobalEventBase. For a better solution use getGlobalIOExecutor and request the EventBase from there.

Return Value

Event base from the global mutable IO executor.