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

Re: NSFileManager thread safety?


  • Subject: Re: NSFileManager thread safety?
  • From: Joar Wingfors <email@hidden>
  • Date: Mon, 16 Nov 2009 21:15:04 -0800

On 16 nov 2009, at 04.07, Gregory Weston wrote:

> Given Dave Keck's correct comment that threading shouldn't even come up in the situation you describe, I should point out that according to the docs the result of sending init to an NSFileManager object in 10.5 is undefined. If you're testing there, it's entirely legit for tempFileManager to be invalid after the first line executes.


I think that the docs are wrong here. It's OK to alloc+init new copies of NSFileManager on Mac OS X 10.5 and later. I've filed a bug report for fixing up the documentation.

j o a r


_______________________________________________

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

References: 
 >Re: NSFileManager thread safety? (From: Gregory Weston <email@hidden>)

  • Prev by Date: Dependent/injected tests vs. linker visibility
  • Next by Date: Re: Trouble with NSSegmentedControl
  • Previous by thread: Re: NSFileManager thread safety?
  • Next by thread: real beginner question
  • Index(es):
    • Date
    • Thread