CF/NSNotifications on the same thread not working.
CF/NSNotifications on the same thread not working.
- Subject: CF/NSNotifications on the same thread not working.
- From: Robert Monaghan <email@hidden>
- Date: Mon, 1 Jun 2009 17:10:22 -0700
Hi Everyone,
I am trying to post a notification (a
CFNotificationCenterPostNotification) on a thread from a
CFNotificationCenterGetLocalCenter, to a NSNotificationCenter
defaultCenter. All on the same thread, spun off from my main thread.
The observer that I am adding, never gets called. If I move all of
this to my main thread, everything works as expected.
I am stumped. Is there something special that I have to do, to get a
notification to work entirely on the same thread?
bob.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden