dispatch

protected open fun dispatch(processor: TaskProcessingSystem.TaskProcessorIfc)(source)

Called to cause a task to be sent to the supplied processor. If the dispatcher has a task for dispatching the task is selected via the nextTask() function and then the processor is told to receive the task for processing.

Parameters

processor

the processor to attempt sending a task to