On Jun 25, 2016, at 01:40 , Rick Mann <[email protected]> wrote:
>
> It seems that they might not be, but I can't find documentation either way.
What do you mean by “access”? Are you referring to their internal state, or
their relationship to the file system?
NSFileWrapper is *not* listed as thread-safe:
https://developer.apple.com/library/prerelease/content/documentation/Cocoa/Conceptual/Multithreading/ThreadSafetySummary/ThreadSafetySummary.html
so I’d assume it comes under the general rubric of “mutable objects”, since the
properties that hold file data can change. It’s even possible (though I don’t
recall offhand any evidence that makes this a plausible claim) that they access
file system information lazily, so even reading properties that don’t change
may mutate the internal state.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]