Re: [Q] large flat files usage
Re: [Q] large flat files usage
- Subject: Re: [Q] large flat files usage
- From: Wade Tregaskis <email@hidden>
- Date: Fri, 21 Jun 2002 09:21:21 +1000
There is one caveat though - the file is not locked as VM files are, and
bad thinks might happen if the user start messing with it while the file
being still opened. Although documented, this probably should join the
bug list.
Is this problem with mmap (I'm guessing that's what
dataWithContentsOfMappedFile is using under the hood) just on HFS+
filesystems?
Just a thought - could you open the file with write access straight after,
to 'lock' it, and then keep using the mapped version? Kludgy, but...does
it work?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.