Emmanuel Dreyfus <m...@netbsd.org> wrote:

> I am not sure I correctly understand what you mean: is it that we do not
> have an equivalent of NetBSD's struct sema, and that it would need to be
> implemented using mutex and condvar?

Looking at FreeBSD implementation, it seems almost trivial to import it
in our kernel: we just have to s/struct mtx/kmutex_t/

Is it desirable to import it in the kernel, or should it stay in the
DADHI driver?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org

Reply via email to