home *** CD-ROM | disk | FTP | other *** search
- /* NSThread.h
- Support for initiating and controlling threads
- Copyright 1994-1996, NeXT Software, Inc. All rights reserved.
- */
-
- #import <Foundation/NSObject.h>
-
- @class NSMutableDictionary, NSDate;
-
- @interface NSThread : NSObject {
- @private
- struct cthread *cthread;
- unsigned lastStack;
- NSMutableDictionary *threadDictionary;
- id runLoop;
- id noteQueue;
- void *autoreleasePool;
- id doQueue;
- id doConversation;
- unsigned doConversationCount;
- id doConversationRequest;
- void *reserved1;
- void *reserved;
- }
-
- + (NSThread *)currentThread;
-
- + (void)detachNewThreadSelector:(SEL)selector toTarget:(id)target withObject:(id)argument;
-
- + (BOOL)isMultiThreaded;
-
- - (NSMutableDictionary *)threadDictionary;
-
- + (void)sleepUntilDate:(NSDate *)date;
-
- + (void)exit;
-
- @end
-
- FOUNDATION_EXPORT NSString *NSWillBecomeMultiThreadedNotification;
- FOUNDATION_EXPORT NSString *NSThreadWillExitNotification;
-
-