[erlang-questions] Status of kqueue on FreeBSD
Thu Apr 19 15:21:49 CEST 2007
Alex Arnon wrote:
> Hi Rickard,
> Is there also such problem on OpenBSD or NetBSD? Or can I safely use
> kqueue on those platforms?
We haven't had any problems with kqueue on OpenBSD in our daily builds.
For NetBSD I cannot give you an answer, since we haven't got any NetBSD
daily build machines.
> In any case, is there an alternative option?
Using poll/select is of course an alternative, but no other kernel-poll
alternative (our configure test is written to prefer /dev/poll and
epoll, but those interfaces will probably not be present).
Rickard Green, Erlang/OTP, Ericsson AB.
> On 4/18/07, *Rickard Green* <
> <mailto:>> wrote:
> Oscar Hellström wrote:
> > Hi,
> > I've understood that kqueue support is disabled on FreeBSD due to
> > with (at least) pipes. I've also forced Erlang to build with kqueue
> > support on FreeBSD and are experiencing weird behaviors.
> Kqueue's EVFILT_READ didn't always trigger when writing on a pipe with
> writev (depending on the buffer sizes used) on FreeBSD.
> > I cannot find much on this issue on the web though, is this an ERTS
> > issue or a FreeBSD issue?
> > Is there work going on to solve it etc?
> Not at OTP.
> > Best Regards
> Rickard Green, Erlang/OTP, Ericsson AB:
> erlang-questions mailing list
More information about the erlang-questions