[Twisted-Python] "Directory triggers" with kqueue using Twisted? (on MacOS X / FreeBSD)

Bob Ippolito bob at redivi.com
Thu Jan 13 14:36:46 MST 2005


On Jan 13, 2005, at 16:32, Bob Ippolito wrote:

>
> On Jan 13, 2005, at 16:20, Itamar Shtull-Trauring wrote:
>
>> On Thu, 2005-01-13 at 15:51 -0500, Bob Ippolito wrote:
>>
>>> The kernel in Mac OS X 10.3.0 supports kqueue, so you can use it for
>>> this sort of thing -- but Finder still polls.
>>
>> James was showing some docs that said it doesn't actually support the
>> file notification stuff currently.
>
> I've seen it used in GraphViz and ReSTedit, so that's simply not true  
> (for files anyway, not sure about directories).

Additionally, Apple has sample code that demonstrates this feature:  
http://developer.apple.com/samplecode/FileNotification/ 
FileNotification.html

-bob





More information about the Twisted-Python mailing list