• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multithreaded Cocoa Document Application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Multithreaded Cocoa Document Application?
      • From: Andrew Merenbach <email@hidden>
References: 
 >Multithreaded Cocoa Document Application? (From: "Rick Ekle" <email@hidden>)
 >Re: Multithreaded Cocoa Document Application? (From: Andrew Merenbach <email@hidden>)
 >Re: Multithreaded Cocoa Document Application? (From: Rick Ekle <email@hidden>)
 >Re: Multithreaded Cocoa Document Application? (From: Andrew Merenbach <email@hidden>)

  • Prev by Date: CGContextSetStyle console log error?
  • Next by Date: Re: Uppercasing text as it is entered
  • Previous by thread: Re: Multithreaded Cocoa Document Application?
  • Next by thread: Re: Multithreaded Cocoa Document Application?
  • Index(es):
    • Date
    • Thread