• 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: NSMachPort thread safety
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMachPort thread safety


  • Subject: Re: NSMachPort thread safety
  • From: "Kyle Sluder" <email@hidden>
  • Date: Sat, 1 Mar 2008 20:44:33 -0500

On Sat, Mar 1, 2008 at 7:07 PM, Adam R. Maxwell <email@hidden> wrote:
>  Does this apply to NSMachPort as well?  I filed a doc bug hoping for
>  eventual clarification, but I'd rather know sooner rather than later
>  if the code has to be rewritten.  rdar://problem/5772256

You're misinterpreting "thread-safe"; you can't send messages to an
NSPort on thread A from thread B.  Since each thread is only
manipulating its own NSPort, you're in the clear.

--Kyle Sluder
_______________________________________________

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: NSMachPort thread safety
      • From: "Adam R. Maxwell" <email@hidden>
References: 
 >NSMachPort thread safety (From: "Adam R. Maxwell" <email@hidden>)

  • Prev by Date: Problems with ScriptingBridge and iTunes
  • Next by Date: Re: [NSOutlineView] How to know an item is expanded if its parent item is not?
  • Previous by thread: NSMachPort thread safety
  • Next by thread: Re: NSMachPort thread safety
  • Index(es):
    • Date
    • Thread