I want to do an event emitter that gets events from libudev.

udev_monitor_get_fd gives me a file descriptor that I'd need to poll, and 
once the descriptor wakes up I'd need to call udev_monitor_receive_device 
to retrieve the event so I can emit it.

Am I able to do this with node.js and libuv or do I need to pack that 
monitor into it's own thread?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to