Thread notification updates

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4278 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-05-21 15:31:09 +00:00
parent 87909743ac
commit cabb77a59f
4 changed files with 17 additions and 6 deletions

View file

@ -1,3 +1,10 @@
Fri May 21 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/include/NSThread.h: Update notification names to MacOS-X
with defines for OpenStep compatibility.
* Source/NSThread.m: Update notification names to MacOS-X
* Source/externs.m: Update thread notification names to MacOS-X
Fri May 21 16:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/include/NSZone.h: Added NSZoneMallocAtomic() for Helge

View file

@ -63,8 +63,10 @@ typedef enum
@end
/* Notification Strings. */
extern NSString *NSBecomingMultiThreaded;
extern NSString *NSThreadExiting;
extern NSString *NSWillBecomeMultiThreadedNotification;
#define NSBecomingMultiThreaded NSWillBecomeMultiThreadedNotification
extern NSString *NSThreadWillExitNotification;
#define NSThreadExiting NSThreadWillExitNotification
#ifndef NO_GNUSTEP
/*

View file

@ -78,7 +78,7 @@ void gnustep_base_thread_callback()
{
entered_multi_threaded_state = YES;
[[NSNotificationCenter defaultCenter]
postNotificationName: NSBecomingMultiThreaded
postNotificationName: NSWillBecomeMultiThreadedNotification
object: nil];
}
}
@ -215,7 +215,7 @@ void gnustep_base_thread_callback()
// Post the notification
[[NSNotificationCenter defaultCenter]
postNotificationName: NSThreadExiting
postNotificationName: NSThreadWillExitNotification
object: t];
/*

View file

@ -44,8 +44,10 @@ NSString *ConnectionWasCreatedNotification =
@"ConnectionWasCreatedNotification";
/* NSThread Notifications */
NSString *NSBecomingMultiThreaded = @"NSBecomingMultiThreadedNotification";
NSString *NSThreadExiting = @"NSThreadExitingNotification";
NSString *NSWillBecomeMultiThreadedNotification
= @"NSWillBecomeMultiThreadedNotification";
NSString *NSThreadWillExitNotification
= @"NSThreadWillExitNotification";
/* Port Notifications */
NSString *PortBecameInvalidNotification = @"PortBecameInvalidNotification";