Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Oh. 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...


I am not aware of it ever not working, since its creation.


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: