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: Atomic file system not atomic?



On 13.09.2005 15:47, "Theodore H. Smith" <email@hidden> wrote:

> I don't understand how "Lock files" can work if the app has to wait X
> amount of time before knowing if the file will appear or not. That
> just ruins the concept of a lock file, a lock file has no use if the
> filesystem is not atomic.

  For lock files to work, it should be impossible to create the same file
twice - from your examples, it doesn't appear that you ever attempt this.

- WBR, Alexey Proskuryakov


 _______________________________________________
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

References: 
 >Re: Atomic file system not atomic? (From: "Theodore H. Smith" <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.