receive

Receives the task for processing. Enqueues the task and if the processor is idle, activates the processor to process tasks.

Parameters

task

The task that needs executing.