OS X alternative for eventfd

eventfd is Linux dependent. I need to port a library written in Linux that uses this event notification system for OS X. Is there a way to do this?

+4
source share
1 answer

Two options: pipeand kqueue EVFILT_USER. It depends on how it is used eventfd.

+4
source

All Articles