3 ms·
Freebsd have had kqueue for the longest time. Unfortunately Linux didn't adopt it for political reasons and osx did a half port and dropped disk io support.
by halayli 8y ago
Freebsd have had kqueue for the longest time. Unfortunately Linux didn't adopt it for political reasons and osx did a half port and dropped disk io support.
- tedunangst 8y agokqueue doesn't work for disk. It always reports ready to read.
- johncolanduoni 8y agoIf you try to use the readiness-based kqueue events that is the case, but the completion-based aio events do work with disk files on kqueue.
- tedunangst 8y agoAh, that slipped my mind.
- crest 8y agoOn FreeBSD kqueue does work for normal files if you use aio_* and SIGEV_KEVENT.