public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Futex
@ 2003-10-06  7:22 Frederick, Fabian
  2003-10-06  7:50 ` Futex bert hubert
  0 siblings, 1 reply; 6+ messages in thread
From: Frederick, Fabian @ 2003-10-06  7:22 UTC (permalink / raw)
  To: Linux-Kernel (E-mail)

Hi,

	Why don't we have any futex doc included ?
Nothing about futexfs nor userspace futex usage ....

Regards,
Fabian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Futex
  2003-10-06  7:22 Futex Frederick, Fabian
@ 2003-10-06  7:50 ` bert hubert
  2003-10-06 15:08   ` Futex Chris Friesen
  2003-10-06 17:12   ` Futex Jamie Lokier
  0 siblings, 2 replies; 6+ messages in thread
From: bert hubert @ 2003-10-06  7:50 UTC (permalink / raw)
  To: Frederick, Fabian; +Cc: Linux-Kernel (E-mail)

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/


-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Futex
  2003-10-06  7:50 ` Futex bert hubert
@ 2003-10-06 15:08   ` Chris Friesen
  2003-10-06 17:12   ` Futex Jamie Lokier
  1 sibling, 0 replies; 6+ messages in thread
From: Chris Friesen @ 2003-10-06 15:08 UTC (permalink / raw)
  To: bert hubert; +Cc: Frederick, Fabian, Linux-Kernel (E-mail)

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/

Just a note: the library mentioned needs a patch to compile on the 
latest kernel (mostly just to handle the additional parm in the futex 
syscall).  I've sent it to Rusty for the next version.

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Futex
  2003-10-06  7:50 ` Futex bert hubert
  2003-10-06 15:08   ` Futex Chris Friesen
@ 2003-10-06 17:12   ` Jamie Lokier
  1 sibling, 0 replies; 6+ messages in thread
From: Jamie Lokier @ 2003-10-06 17:12 UTC (permalink / raw)
  To: bert hubert, Frederick, Fabian, Linux-Kernel (E-mail)

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Futex
@ 2003-10-07  7:56 Frederick, Fabian
  2003-10-07  8:15 ` Futex Jamie Lokier
  0 siblings, 1 reply; 6+ messages in thread
From: Frederick, Fabian @ 2003-10-07  7:56 UTC (permalink / raw)
  To: Jamie Lokier, bert hubert, Linux-Kernel (E-mail)

Well, as part of the kernel, I guess we could add an updated ascii version.

Regards,
Fabian


-----Message d'origine-----
De : Jamie Lokier [mailto:jamie@shareable.org]
Envoyé : lundi 6 octobre 2003 19:12
À : bert hubert; Frederick, Fabian; Linux-Kernel (E-mail)
Objet : Re: Futex


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Futex
  2003-10-07  7:56 Futex Frederick, Fabian
@ 2003-10-07  8:15 ` Jamie Lokier
  0 siblings, 0 replies; 6+ messages in thread
From: Jamie Lokier @ 2003-10-07  8:15 UTC (permalink / raw)
  To: Frederick, Fabian; +Cc: bert hubert, Linux-Kernel (E-mail)

Frederick, Fabian wrote:
> Well, as part of the kernel, I guess we could add an updated ascii version.

I agree.  It does not need to be large; it can cover just the
essential points, and doesn't need to describe the library interface
other than by reference.

Congratulations!  You're volunteered! :)

-- Jamie

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-07  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-06  7:22 Futex Frederick, Fabian
2003-10-06  7:50 ` Futex bert hubert
2003-10-06 15:08   ` Futex Chris Friesen
2003-10-06 17:12   ` Futex Jamie Lokier
  -- strict thread matches above, loose matches on Subject: below --
2003-10-07  7:56 Futex Frederick, Fabian
2003-10-07  8:15 ` Futex Jamie Lokier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox