Construct a factory that sets the given nice value on each thread.
Declared in <folly/executors/thread_factory/PriorityThreadFactory.h>
PriorityThreadFactory(
std::shared_ptr<ThreadFactory> factory,
int priority);
| Name | Description |
|---|---|
| factory | The underlying factory that creates the threads. |
| priority | The nice value applied to each created thread. |