Notifications to other threads
Notifications to other threads
- Subject: Notifications to other threads
- From: email@hidden (mikevannorsdel)
- Date: Mon, 07 Jan 2002 08:48:28 -0700
I'm looking to get system notifications (NSWorkspaceDidMountNotification,
NSApplicationWillTerminateNotification, ect) in a thread other than the main
thread. The reason being is that the main thread will probably be busy in a
loop when notifications arrive. As far as I can tell, these notifications
always go to the main thread, even if the observer was added in a separate
thread (I assume because the notification is posted in the main thread).
How can I get these notifications sent to a specific thread?