Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/compat/linux/common



Emmanuel Dreyfus <manu%NetBSD.org@localhost> writes:

> On Sat, Nov 05, 2005 at 10:42:11AM -0500, Perry E. Metzger wrote:
> > If we are going to implement this for Linux, shouldn't we get a native
> > version too?
> 
> I don't know: what are futex used for? Are they desirable?

They're used to implement userspace thread mutexes; since Linux
threads are 1:1 kernel entities, they need kernel assistance to block
and switch to another thread.

They might be useful for us for implementing process-shared mutexes.
(not a feature I've actually seen much demand for...)

        - Nathan




Home | Main Index | Thread Index | Old Index