receive

Receives tasks and attempts to dispatch them. Selects a processor via the selectProcessor() function and then dispatches the task to the processor with the dispatch() function.

Parameters

task

The task that needs dispatching