Type Method

sleepUntilDate:

Blocks the current thread until the time specified.

Declaration

+ (void)sleepUntilDate:(NSDate *)date;

Parameters

aDate

The time at which to resume processing.

Discussion

No run loop processing occurs while the thread is blocked.

See Also

Stopping a Thread

+ sleepForTimeInterval:

Sleeps the thread for a given time interval.

+ exit

Terminates the current thread.

- cancel

Changes the cancelled state of the receiver to indicate that it should exit.