Hi all,

I need to create a simple command line application that will stall (as in keep 
running without exiting) until it receives a certain distributed notification 
via NSDistributedNotificationCenter. What would be the best way to go about 
doing this? I assume I'd have to have a separate thread for observing the 
notification and then have some sort of loop running in main() that checks 
whether the notification has been received, but I'm not certain. Any tips would 
be appreciated.

Thanks,
Indragie_______________________________________________

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