• 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 detect busy files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to detect busy files?


  • Subject: Re: How to detect busy files?
  • From: Brendan Younger <email@hidden>
  • Date: Sun, 26 May 2002 13:09:11 -0500

On Sunday, May 26, 2002, at 07:39 AM, Lorenzo Puleo wrote:
how to detect when a file is busy (open by some application)?

Try opening the file with exclusive read/write access. It will (should?) fail if the file is already open.

Brendan Younger
_______________________________________________
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: 
 >How to detect busy files? (From: Lorenzo Puleo <email@hidden>)

  • Prev by Date: Re: How to lock NIB files?
  • Next by Date: Re: Quick question about NSWorkspaceDidLaunchApplicationNotification
  • Previous by thread: Re: How to detect busy files?
  • Next by thread: Re: displaying a calculated image
  • Index(es):
    • Date
    • Thread