polling
polling copied to clipboard
Use kqueue on haiku
It seems haiku supports kqueue.
- https://github.com/haiku/haiku/blob/r1beta5/headers/compatibility/bsd/sys/event.h
- https://github.com/rust-lang/libc/pull/4221
cc @hoanga who added haiku support in https://github.com/smol-rs/polling/pull/154.
No rush to implement this; I doubt a significant portion of our users are on Haiku.
A prerequisite for supporting kqueue as the polling backend for Haiku is to expose kqueue API for Haiku in rustix.