• 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: How to tell if a file is busy?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to tell if a file is busy?


  • Subject: Re: How to tell if a file is busy?
  • From: Doug McNutt <email@hidden>
  • Date: Thu, 27 Sep 2001 19:10:03 -0600

At 17:44 -0700 9/27/01, Chris Page wrote:
A file can be opened for read access multiple times, from within the same or
different processes at the same time. Only one process can open a given file
with write access

That is simply NOT TRUE. I complained to Apple about it and was specifically informed of the fact. In fact I think it was Mr. Nebel who said so. What really surprised me is that even in UNIX it's not true. There is a busy bit but it only applies to cooperating applications (processes).

AppleScript or MacPerl will open a file for output even if it is already open for writing by another application. I know it doesn't make sense, but that has nothing to do with the facts.


--
-> The U. S. Patent Office issues protection for methods used in stem cell research. Is that an immoral use of taxpayer's money? <-


References: 
 >Re: How to tell if a file is busy? (From: Chris Page <email@hidden>)

  • Prev by Date: Re: How to tell if a file is busy?
  • Next by Date: [semi-ANN] Radix Sort handler
  • Previous by thread: Re: How to tell if a file is busy?
  • Next by thread: Re: How to tell if a file is busy?
  • Index(es):
    • Date
    • Thread