Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 09:04:13 +1100
From:      "Jan Mikkelsen" <janm@transactionware.com>
To:        "'Julian Elischer'" <julian@elischer.org>, "'James Mansion'" <james@mansionfamily.plus.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   RE: kqueue and libev
Message-ID:  <000c01c8402f$9819d710$0301a8c0@STUDYPC>
In-Reply-To: <47644F93.5080201@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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=20
> unfortunate.
> >> Does anyone know what the author is concerned about?
> >=20
> > he's just plain misinformed
> >=20
>=20
> kqueue works well with aio to files and raw devices for=20
> example. (Only using AIO really makes sense in these cases=20
> 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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c8402f$9819d710$0301a8c0>