mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
cc2f12f523
commit
635c255ed2
5 changed files with 28 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue