~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man2/futex.2

  • Committer: Bazaar Package Importer
  • Author(s): Loïc Minier
  • Date: 2010-11-11 16:51:09 UTC
  • mfrom: (1.1.44 upstream) (2.2.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101111165109-3yiyen1axa1ju3s0
Tags: 3.26-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
.\" Modified 2004-06-17 mtk
7
7
.\" Modified 2004-10-07 aeb, added FUTEX_REQUEUE, FUTEX_CMP_REQUEUE
8
8
.\"
9
 
.\" FIXME
 
9
.\" FIXME See also https://bugzilla.kernel.org/show_bug.cgi?id=14303
10
10
.\" 2.6.14 adds FUTEX_WAKE_OP
11
11
.\" 2.6.18 adds (Ingo Molnar) priority inheritance support:
12
12
.\" FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, and FUTEX_TRYLOCK_PI.  These need
14
14
.\" material in the kernel source file Documentation/pi-futex.txt.
15
15
.\" 2.6.25 adds FUTEX_WAKE_BITSET, FUTEX_WAIT_BITSET
16
16
.\"
17
 
.TH FUTEX 2 2010-05-22 "Linux" "Linux Programmer's Manual"
 
17
.TH FUTEX 2 2010-08-29 "Linux" "Linux Programmer's Manual"
18
18
.SH NAME
19
19
futex \- Fast Userspace Locking system call
20
20
.SH SYNOPSIS
41
41
different locations will correspond for
42
42
.BR futex ()
43
43
calls).
44
 
It is typically used to
 
44
This system call is typically used to
45
45
implement the contended case of a lock in shared memory, as
46
46
described in
47
47
.BR futex (7).
239
239
Initial futex support was merged in Linux 2.5.7 but with different semantics
240
240
from what was described above.
241
241
A 4-argument system call with the semantics
242
 
given here was introduced in Linux 2.5.40.
 
242
described in this page was introduced in Linux 2.5.40.
243
243
In Linux 2.5.70 one argument
244
244
was added.
245
245
In Linux 2.6.7 a sixth argument was added \(em messy, especially
272
272
.br
273
273
ftp://ftp.nl.kernel.org/pub/linux/kernel/people/rusty/.
274
274
.SH COLOPHON
275
 
This page is part of release 3.25 of the Linux
 
275
This page is part of release 3.26 of the Linux
276
276
.I man-pages
277
277
project.
278
278
A description of the project,