Enqueue a function with a given priority, where 0 is the medium priority This is up to the implementation to enforce
Synopsis
Declared in <folly/Executor.h>
virtual
void
addWithPriority(
Func func,
int8_t priority);
Parameters
Name |
Description |
func |
The unit of work to enqueue. |
priority |
The scheduling priority for the work. |
Created with MrDocs