Subject: Re: CVS commit: src/sys/compat/linux/common
To: Emmanuel Dreyfus <manu@NetBSD.org>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: source-changes
Date: 11/05/2005 11:56:20
Emmanuel Dreyfus <manu@NetBSD.org> 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