methodset Executors
Declared in <folly/executors/GlobalExecutor.h>
void
setUnsafeMutableGlobalCPUExecutor(std::weak_ptr<folly::Executor> executor);
Set an Executor to be the global mutable Executor which will be returned by subsequent calls to getUnsafeMutableGlobalCPUExecutor()
For a better solution use getGlobalCPUExecutor and avoid calling set.
| Name | Description |
|---|---|
| executor | Executor to set |