Re: Deleting an file that's been NSData memory mapped - safe?
Re: Deleting an file that's been NSData memory mapped - safe?
- Subject: Re: Deleting an file that's been NSData memory mapped - safe?
- From: Chris Ridd <email@hidden>
- Date: Sun, 14 Feb 2016 13:15:16 +0000
> On 14 Feb 2016, at 11:45, email@hidden wrote:
>
> Would the file itself be accessible by another process before your process exits?
Only if it manages to open it before it gets unlinked. After it gets unlinked, there’s no way to open it because there’s no longer any associated filename.
Chris
_______________________________________________
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