Subject: Re: netbsd/freebsd kqueue
To: Jaromir Dolecek <jdolecek@NetBSD.org>
From: Jonathan Stone <jonathan@dsg.stanford.edu>
List: tech-kern
Date: 02/04/2005 17:46:01
In message <20050204225923.A8F5B492240@s102-n054.tele2.cz>Jaromir Dolecek writes
>S=F8ren Worach wrote:
>> is the netbsd kqueue API compatible with the one from freebsd ?
>> if no, someone has a overview of the changes ?
>
>Yes, it's compatible.


It's compatible for most source-code purposes. The sizes (and maybe
order/alignment?) of fields in the notificaiton struct changed, at
least on some platforms, so the ABIs are not compatible between NetBSD
and FreeBSD.  At least that's what I recall from looking hard at
implementing a FreeSD-4-compatible emulation of kqueue for compat_freebsd.