Re: Futex

From: Jamie Lokier
Date: Mon Oct 06 2003 - 12:13:24 EST


bert hubert wrote:
> On Mon, Oct 06, 2003 at 09:22:19AM +0200, Frederick, Fabian wrote:
> > Hi,
> >
> > Why don't we have any futex doc included ?
> > Nothing about futexfs nor userspace futex usage ....
>
> http://ds9a.nl/futex-manpages/

Those docs are a little out of date and incomplete, though.

There's no mention of FUTEX_REQUEUE, and no mention of the important
token-passing property: that the value returned from FUTEX_WAKE is
equal to the number of calls which return 0 from FUTEX_WAIT.
(Only when FUTEX_FD is not used; FUTEX_FD is broken with respect to
token passing at the moment).

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/