summaryrefslogtreecommitdiffstats
path: root/share/man/man9/sleep.9
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2007-02-27 05:39:22 +0000
committergrog <grog@FreeBSD.org>2007-02-27 05:39:22 +0000
commit128ac1d5958eb05b5b0c08882c80a3f90ef76d1b (patch)
tree38f7f59755f42f7106fd3231f5eab0f022312c6b /share/man/man9/sleep.9
parenta94865a5ece16616f8b180b20917c4761c44304b (diff)
downloadFreeBSD-src-128ac1d5958eb05b5b0c08882c80a3f90ef76d1b.zip
FreeBSD-src-128ac1d5958eb05b5b0c08882c80a3f90ef76d1b.tar.gz
Update HISTORY.
Reviewed by: dmr
Diffstat (limited to 'share/man/man9/sleep.9')
-rw-r--r--share/man/man9/sleep.925
1 files changed, 14 insertions, 11 deletions
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9
index 5bfa970..539d49d 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -212,15 +212,24 @@ See above.
.Xr malloc 9 ,
.Xr mi_switch 9
.Sh HISTORY
-The sleep/wakeup thread synchronization mechanism is very old.
-It
-appeared in a very early version of
-.Ux .
+The functions
+.Fn sleep
+and
+.Fn wakeup
+was present in
+.At v1 .
+They were probably also present in the preceding
+PDP-7 version of UNIX.
+They were the basic process synchronization model.
.Pp
The
.Fn tsleep
function appeared in
-.Bx 4.4 .
+.Bx 4.4
+and added the parameters
+.Fa wmesg
+and
+.Fa timo .
The
.Fn wakeup_one
function appeared in
@@ -238,12 +247,6 @@ function appeared in
function appeared in
.Fx 7.0 .
.Pp
-The
-.Fn sleep
-function used to be the traditional form.
-It did not let you specify a timeout or a
-.Fa wmesg ,
-hence it was discontinued.
.Sh AUTHORS
.An -nosplit
This manual page was written by
OpenPOWER on IntegriCloud