eventfd is Linux-specific. I need to port a library written on Linux which makes use of this event notification system to OS X. Is there a way to accomplish this?
Two options are a pipe and kqueue's EVFILT_USER. It depends on how exactly eventfd is being used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With