On Jan 10,  6:41am, m...@netbsd.org (Emmanuel Dreyfus) wrote:
-- Subject: Re: Equivalent of FreeBSD kernel semaphore?

| 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?

I don't know, is it useful outside DAHDI? Does DAHDI really need it?

christos

Reply via email to