NSMachPort vs. NSMessagePort
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