27 May
2006
27 May
'06
3:56 p.m.
Alex Martelli wrote:
Of course that would mean establishing which *was* the best available which, as we've seen this week, may not be easy.
I believe it's: kqueue on FreeBSD ...
Such a statement assumes they are semantically equivalent. However, I believe they aren't. A specific usage pattern can be expressed with any of them, for such a usage pattern, you can come up with a ranking even. For example, to check whether a single specific file descriptor is ready, I would assume that poll is best (even better than epoll and kqueue). To check whether file descriptor 0 is ready, I would assume that select is even better. Regards, Martin