• 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: [Q] large flat files usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Re: [Q] large flat files usage (From: Georg Tuparev <email@hidden>)

  • Prev by Date: RE: Newbie - inter object method invocation
  • Next by Date: Re: Newbie - inter object method invocation
  • Previous by thread: Re: [Q] large flat files usage
  • Next by thread: My newbie question..
  • Index(es):
    • Date
    • Thread