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 rifling through the Monastery: (4)
As of 2015-10-07 01:39 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (169 votes), past polls