summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-04-28 17:54:24 +0000
committermpi <mpi@openbsd.org>2017-04-28 17:54:24 +0000
commit67e430b43da281dcef41e53c45124ca8028c8a07 (patch)
treeaeb69b626d16e8882a41622f6f451a910485f7d8
parentDelete .Pp right before the first .Sh and right before any .Ss, (diff)
downloadwireguard-openbsd-67e430b43da281dcef41e53c45124ca8028c8a07.tar.xz
wireguard-openbsd-67e430b43da281dcef41e53c45124ca8028c8a07.zip
Reference the "Futexes Are Tricky" paper.
With schwarze@
-rw-r--r--lib/libc/sys/futex.28
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/futex.2 b/lib/libc/sys/futex.2
index be4eee9923b..d8528681ba4 100644
--- a/lib/libc/sys/futex.2
+++ b/lib/libc/sys/futex.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: futex.2,v 1.2 2017/04/28 14:30:54 jmc Exp $
+.\" $OpenBSD: futex.2,v 1.3 2017/04/28 17:54:24 mpi Exp $
.\"
.\" Copyright (c) 2017 Martin Pieuchot
.\"
@@ -127,6 +127,12 @@ A signal arrived.
.Xr pthread_cond_wait 3 ,
.Xr pthread_mutex_lock 3 ,
.Xr tsleep 9
+.Rs
+.%A Ulrich Drepper
+.%T Futexes Are Tricky
+.%U https://www.akkadia.org/drepper/futex.pdf
+.%D November 5, 2011
+.Re
.Sh HISTORY
The
.Fn futex