methodset Deprecated
Synopsis
Declared in <folly/executors/GlobalExecutor.h>
[[deprecated("setCPUExecutor is deprecated. To use the global mutable executor use setUnsafeMutableGlobalCPUExecutor. For a better solution use getGlobalCPUExecutor and avoid calling set.")]]
void
setCPUExecutor(std::weak_ptr<folly::Executor> executor);
|
Warning
|
Deprecated: setCPUExecutor is deprecated. To use the global mutable executor use setUnsafeMutableGlobalCPUExecutor. For a better solution use getGlobalCPUExecutor and avoid calling set.. Use of this entity is allowed but discouraged. |
Description
To use the global mutable executor use setUnsafeMutableGlobalCPUExecutor. For a better solution use getGlobalCPUExecutor and avoid calling set.
Parameters
Name |
Description |
executor |
Executor to set as the global mutable CPU executor. |
Created with MrDocs