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 1999-05-21 15:31:09 +00:00
parent 40e08a0da9
commit e29d616bcb
4 changed files with 17 additions and 6 deletions

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";