Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://787940]
help
Chatterbox?
[thezip]: Good evening!

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-06-29 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (653 votes). Check out past polls.