Ken:

This is incorrect. Notifications are typically synchronous. They do not rely on the run-loop for delivery. The code which posts a notification does not proceed until all observers have received the notification.


  I stand corrected:

http://developer.apple.com/documentation/Cocoa/Conceptual/Notifications/Articles/NotificationCenters.html#

"A notification center delivers notifications to observers synchronously. In other words, when posting a notification, control does not return to the poster until all observers have received and processed the notification. To send notifications asynchronously use a notification queue ..."

It seems I need to review this guide as I rarely rely on this mechanism for posting (only for receiving/responding). Thanks for pointing that out!

--
I.S.


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to