Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Multiplatform event handling module?

by thunders (Priest)
on Aug 12, 2009 at 14:30 UTC ( #787940=note: print w/replies, xml ) Need Help??

in reply to Multiplatform event handling module?

I looked into BSD and OSX and it looks like kqueue is the common way to do event notifications. There is a thin wrapper around this utility called IO::KQueue on cpan.

Here is some C source code I found which uses kqueue and kevent for directory monitoring, hopefully that would be adaptable.

MacOSX also recently added FSEvents but that's only available from 10.5(Leopard) on.

  • Comment on Re: Multiplatform event handling module?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://787940]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2016-10-28 13:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (383 votes). Check out past polls.