Re: Multithreaded Cocoa Document Application?
Re: Multithreaded Cocoa Document Application?
- Subject: Re: Multithreaded Cocoa Document Application?
- From: Milo Bird <email@hidden>
- Date: Fri, 24 Aug 2007 14:28:42 +0100
for communication, your best bet is probably
NSDistributedNotifications.
Distributed notifications are not suitable for communicating between
threads, as all distributed notifications that you send will be
received on the main thread. Distributed notifications are for
communicating between processes.
NSOperation is the API to use if you are coding for 10.5. Otherwise,
there are several options. I'd recommend YAMessageQueue:
http://www.2pi.dk/tech/cocoa/message_queue.html
Milo
_______________________________________________
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