On 2010 Sep 15, at 07:02, Roland King wrote:

> Checking the documentation for NSNotificationCenter however I see that the 
> notifications are processed in the thread in which they were sent, that of 
> course will be my indexing thread and that's exactly what I was trying to 
> avoid, updating contexts across threads. What's the best way to deal with 
> this?

Not sure what's the best way, but I've used one of the 
performSelectorOnMainThread… methods to make a notification get posted on the 
main thread.

_______________________________________________

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