svn commit: r198081 - in stable/7/lib/libc: . sys

Konstantin Belousov kib at FreeBSD.org
Wed Oct 14 14:29:30 UTC 2009


Author: kib
Date: Wed Oct 14 14:29:29 2009
New Revision: 198081
URL: http://svn.freebsd.org/changeset/base/198081

Log:
  MFC r197958:
  In nanosleep(2), note that the calling thread is put to sleep, not the
  whole process. Also explicitely name the parameter that specifies
  sleep interval.

Modified:
  stable/7/lib/libc/   (props changed)
  stable/7/lib/libc/sys/nanosleep.2

Modified: stable/7/lib/libc/sys/nanosleep.2
==============================================================================
--- stable/7/lib/libc/sys/nanosleep.2	Wed Oct 14 14:26:19 2009	(r198080)
+++ stable/7/lib/libc/sys/nanosleep.2	Wed Oct 14 14:29:29 2009	(r198081)
@@ -47,7 +47,9 @@
 The
 .Fn nanosleep
 system call
-causes the process to sleep for the specified time.
+causes the calling thread to sleep until the time interval specified by
+.Fa rqtp
+has elapsed.
 An unmasked signal will
 cause it to terminate the sleep early, regardless of the
 .Dv SA_RESTART


More information about the svn-src-stable mailing list