methodset Deprecated
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);
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.
To use the global mutable executor use setUnsafeMutableGlobalCPUExecutor. For a better solution use getGlobalCPUExecutor and avoid calling set.
| Name | Description |
|---|---|
| executor | Executor to set as the global mutable CPU executor. |