On 2009 Sep 21, at 09:31, Michael Thon wrote:

In the sendNotification: method I send the notification to the other thread using performSelector: onThread: however sendNotification: is never even called. Either the notifications are not, in fact being sent to the main thread or I'm doing something else wrong. There is probably something basic about threads or notifications that I don't understand but I have run out of ideas about what to try next.

Sending a notification to the other thread may be complicated than that. Have you read this? ...

http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Notifications/Articles/Threading.html#/ /apple_ref/doc/uid/20001289

By the way, I have *not* read that, because whenever I've wanted to post a notification across threads, I'd look at how long that was, how much code there was, and decided to use a different approach :)

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to