move a bit more stuff into additions

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29666 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-02-18 16:18:54 +00:00
parent dc0c550db8
commit 85760d2563
17 changed files with 671 additions and 327 deletions

View file

@ -27,12 +27,17 @@
#define __NSThread_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSDate.h>
#if defined(GNUSTEP_BASE_INTERNAL)
#import "Foundation/NSAutoreleasePool.h" // for struct autorelease_thread_vars
#import "Foundation/NSException.h" // for NSHandler
#else
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSException.h>
#import <Foundation/NSAutoreleasePool.h> // for struct autorelease_thread_vars
#endif
@class NSArray;
@class NSDate;
@class NSMutableDictionary;
#if defined(__cplusplus)
extern "C" {
@ -372,11 +377,14 @@ GS_EXPORT NSString* const NSThreadWillExitNotification;
*/
GS_EXPORT NSString* const NSThreadDidStartNotification;
/*
* Get current thread and it's dictionary.
*/
GS_EXPORT NSThread *GSCurrentThread(void);
GS_EXPORT NSMutableDictionary *GSCurrentThreadDictionary(void);
#endif
#if !defined(NO_GNUSTEP)
# if defined(GNUSTEP_BASE_INTERNAL)
# import "GNUstepBase/NSThread+GNUstepBase.h"
# else
# import <GNUstepBase/NSThread+GNUstepBase.h>
# endif
#endif
#if defined(__cplusplus)