NSThread updates and cleanup

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25608 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-11-25 14:49:05 +00:00
parent cc2f12f523
commit 635c255ed2
5 changed files with 28 additions and 11 deletions

View file

@ -40,18 +40,19 @@ extern "C" {
@interface NSThread : NSObject
{
@private
id _target;
id _arg;
SEL _selector;
NSString *_name;
unsigned _stackSize;
@public
BOOL _cancelled;
BOOL _active;
NSHandler *_exception_handler;
NSMutableDictionary *_thread_dictionary;
struct autorelease_thread_vars _autorelease_vars;
id _gcontext;
void *_reserved; // For mfuture expansion
}
+ (NSThread*) currentThread;
@ -115,6 +116,10 @@ extern "C" {
*/
- (BOOL) isMainThread;
/** FIXME ... what does this do?
*/
- (void) main;
/** Returns the name of the receiver.
*/
- (NSString*) name;