• 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: Using KQueue events to watch files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using KQueue events to watch files


  • Subject: Re: Using KQueue events to watch files
  • From: Joseph Heck <email@hidden>
  • Date: Wed, 6 Oct 2004 17:54:20 -0700

Check out Mike McCracken's stakeout code - http://michael-mccracken.net/blog/blosxom.pl/computers/mac/programming/ meetWatch.html, or Calum's variation at http://homepage.mac.com/calumr/main.m

-joe

On Oct 6, 2004, at 5:38 PM, Andrew Bush wrote:
Hi all,

Im a bit of a newbie at cocoa im afraid...

is it possible to use kevents to know when a file is merely being opened or closed? Im using Uli's wonderful UKKQueue class and its working nicely, giving me notifications whenever the file is renamed or altered etc, but I need to know when the file is *opened* specifically.

has anyone done this? is it even possible using the kqueue stuff?


thanks for any help.


Yours cheerfully,


Andrew Bush

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Using KQueue events to watch files
      • From: Andrew Bush <email@hidden>
References: 
 >Using KQueue events to watch files (From: Andrew Bush <email@hidden>)

  • Prev by Date: Using KQueue events to watch files
  • Next by Date: Re: Using KQueue events to watch files
  • Previous by thread: Using KQueue events to watch files
  • Next by thread: Re: Using KQueue events to watch files
  • Index(es):
    • Date
    • Thread