• 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
NSMachPort vs. NSMessagePort
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMachPort vs. NSMessagePort


  • Subject: NSMachPort vs. NSMessagePort
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 31 May 2007 08:42:29 +0700

What is the difference between these two?
In which situations should I prefer one over the other?

The context: a NSDocument based Cocoa app with main thread and a background working thread for each document, which sit around using a NSRunLoop waiting for requests.

All worker threads access a common MyDataStore object rather often (up to 100 000 times per computation) so using NSConnection (Distributed Objects) seems not such a good idea.

OS X 10.4.9

Gerriet.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSMachPort vs. NSMessagePort
      • From: Chris Kane <email@hidden>
  • Prev by Date: Re: CD: Creating a managed object
  • Next by Date: Re: CD: Creating a managed object
  • Previous by thread: Re: Listen to network traffic
  • Next by thread: Re: NSMachPort vs. NSMessagePort
  • Index(es):
    • Date
    • Thread