Re: Multithreading and Mach ports
Re: Multithreading and Mach ports
- Subject: Re: Multithreading and Mach ports
- From: Nathan Day <email@hidden>
- Date: Fri, 12 Dec 2008 01:02:06 +1100
NSPort represents both ends of the communication channel you only
create one NSPort.
On 11/12/2008, at 4:58 AM, John Love wrote:
Reference:
http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/chapter_6_section_5.html#/
/apple_ref/doc/uid/10000057i-CH16-SW7
While I'm trying to piece your replies together, I have a quick
question .. reference Listing 5-15 and, in particular, the comment:
// Create and configure the worker thread port.
It appears that the passed (NSPort*)outPort is also the worker, or
background, thread port. If true, then are we sending from a
background port to another background port???
Thanks for this in-between request.
_______________________________________________
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
_______________________________________________
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