mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
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:
parent
40e08a0da9
commit
e29d616bcb
4 changed files with 17 additions and 6 deletions
|
@ -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];
|
||||
|
||||
/*
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue