kqueue and libev
Jan Mikkelsen
janm at transactionware.com
Sun Dec 16 14:30:54 PST 2007
Julian Elischer wrote:
> Julian Elischer wrote:
> > James Mansion wrote:
> >> [ On the libev being unhappy with kqueue ]
> >> ...
> >> It looks like a decent library, but these comments seem
> unfortunate.
> >> Does anyone know what the author is concerned about?
> >
> > he's just plain misinformed
> >
>
> kqueue works well with aio to files and raw devices for
> example. (Only using AIO really makes sense in these cases
> anyhow, so I've never really tried using kqueue with non-aio calls.)
It also depends what version of FreeBSD. For example, in FreeBSD 4, kqueue
was non-functional with USB serial devices. I ran into that exact problem
with kqueue when porting my event library. Problems like that can make life
difficult for a library author; having a special case for one kind of handle
is a pain, to the point of leading to comments like this.
Of course, in this case the best thing to do is to ask the author, and to
see if the situation has changed.
Regards,
Jan Mikkelsen
More information about the freebsd-hackers
mailing list