Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Function to generate a temporary filename



On Thu, 29 Sep 2005 09:48:19, Byron Han <email@hidden> wrote:

> The atomicity needs to occur at the
> generate unique temp filename
> create the file
> open the file
> 
> FSCreateFileAndOpenForkUnicode doesn't addess steps 1 and 2.  I
> believe it is atomic w.r.t steps 2 and 3.

Cool (yep, I mean your 2 and 3). Is it atomic in all cases
(e.g. even when working with a file on a NTFS volume mounted
via AFP)?

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.