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.