3 ms·
kqueue doesn't work for disk. It always reports ready to read.
by tedunangst 8y ago
kqueue 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.