[Previous] [Up] [Next]

NSThread

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSThread

NSThread

Declared in: Foundation/NSThread.h

Inherits from: NSObject

Conforms to: NSObject


Instance Variables

Methods


Class Methods

currentThread

+ (NSThread*) currentThread;

Returns the NSThread object corresponding to the current thread.

NB. In GNUstep the library internals use the GSCurrentThread() function as a more efficient mechanism for doing this job - so you cannot use a category to override this method and expect the library internals to use your implementation.


detachNewThreadSelector:toTarget:(id)aTarget withObject:

+ (void) detachNewThreadSelector: (SEL)aSelector toTarget:(id)aTarget withObject: (id)anArgument;

exit

+ (void) exit;

isMultiThreaded

+ (BOOL) isMultiThreaded;

sleepUntilDate:

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


Instances Methods

threadDictionary

- (NSMutableDictionary*) threadDictionary;