Task.pause

Pauses task. This method can also be called on a task in the stopped state, in which case a thread will be started and will remain in the paused state. This function does not wait for the task to complete the paused state.

class Task
int
pause
()

Return Value

Type: int

TRUE if the task could be paused. MT safe.

Meta