pause_task


Description:

public bool pause_task ()

Pause the task of this.

This function will also wait until the function executed by the task is finished if this function is not called from the task function.

Parameters:

this

the Pad to pause the task of

Returns:

a true if the task could be paused or false when the pad has no task.