4 ms·
> it only works with sockets and pipes on FreeBSD Where did that rubbish come from? It certainly was not the FreeBSD doco. I've been happily using kevent wit
by JdeBP 10y ago
> it only works with sockets and pipes on FreeBSD
Where did that rubbish come from? It certainly was not the FreeBSD doco. I've been happily using kevent with regular files, directories, child processes, pseudo-terminals, and signals for years. On OpenBSD, too.
I cannot likewise personally attest to its support for process descriptors, timers, AIO requests, or BPF devices, but they're documented.
- qwertyuiop924 10y agoOh. Like I said, that's only what I've heard. It's good to know that's working now. So now Solaris doesn't win, it's just that Linux totally loses...
- JdeBP 10y agoI am not aware of it ever not working, since its creation.
- qwertyuiop924 10y agoI did point to my source: the documentation for libev, a widely used event library that abstracts over such OS-specific mechanisms. Whilebit may be outdated, I'm inclined to trust that it was true at some point, as it's more or less the libev maintainers' jobs to work with these interfaces day in and day out. It's possible they're incompotent, of course, but I find that unlikely.