Added preliminary support for eventfd
event: don't select then write when using eventfd, write directly
Merge pull request #949 from hardening/eventfd

Add support for eventfd