Instance Property

cancelled

A Boolean value that indicates whether the receiver is cancelled.

Declaration

@property(readonly, getter=isCancelled) BOOL cancelled;

Discussion

YES if the receiver has been cancelled, otherwise NO.

If your thread supports cancellation, it should check this property periodically and exit if it ever returns YES.

See Also

Determining the Thread’s Execution State

executing

A Boolean value that indicates whether the receiver is executing.

finished

A Boolean value that indicates whether the receiver has finished execution.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software