Instance Method

suspend

Suspends execution of the receiver task.

Declaration

- (BOOL)suspend;

Return Value

YES if the receiver was successfully suspended, NO otherwise.

Discussion

Multiple suspend messages can be sent, but they must be balanced with an equal number of resume messages before the task resumes execution.

See Also

Running and Stopping a Task

- interrupt

Sends an interrupt signal to the receiver and all of its subtasks.

- launch

Launches the task represented by the receiver.

Deprecated
- resume

Resumes execution of the receiver task that had previously been suspended with a suspend message.

- terminate

Sends a terminate signal to the receiver and all of its subtasks.

- waitUntilExit

Block until the receiver is finished.