NSThread provides functionality to run processes
as separate threads of execution. NSThread takes a
method selector that will be run in its own thread. Threads share the
memory space of their parent processes, unlike processes executed by
NSTask instances.
@interface NSThread : NSObject
|
// Convenience Constructors |
+ (double)threadPriority;
|
// Class Methods |
+ (NSThread *)currentThread;
|
+ (void)detachNewThreadSelector:(SEL)selector toTarget:(id)target withObject:(id)argument;
|
+ (void)exit;
|
+ (BOOL)isMultiThreaded;
|
+ (BOOL)setThreadPriority:(double)priority;
|
+ (void)sleepUntilDate:(NSDate *)date;
|
// Instance Methods |
- (NSMutableDictionary *)threadDictionary;
|