tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Equivalent of FreeBSD kernel semaphore?
On Jan 10, 6:41am, manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
-- Subject: Re: Equivalent of FreeBSD kernel semaphore?
| Emmanuel Dreyfus <manu%netbsd.org@localhost> 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
Home |
Main Index |
Thread Index |
Old Index