Re: Watching folders for new files and event handling based on that?
Re: Watching folders for new files and event handling based on that?
- Subject: Re: Watching folders for new files and event handling based on that?
- From: Tim Perrett <email@hidden>
- Date: Fri, 10 Aug 2007 23:43:41 +0100
Ok interesting. Forgive my ignorance, but a kqueue notifies the
workspace of changes to the file system?
The functionality im looking for is literally, here is a folder, drop
X file in there which executes Z operation in the application.
I guess otherwise i'd be down to have a 2nd thread ticking over
occasionally checking the contents of that directory, then going from
there?
Cheers
Tim
On 10 Aug 2007, at 18:56, Gregory Weston wrote:
Getting this in digest mode means someone has already likely
responded, but presuming you don't care about anything older than
10.3 the standard solution is to use kqueues, for which list
participant Uli Kusterer has a nice Objective-C wrapper:
<http://www.zathras.de/angelweb/sourcecode.htm>
Look for UKKQueue.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden