Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 14:26:19 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r198080 - in stable/8/lib/libc: . gen stdio stdtime string sys
Message-ID:  <200910141426.n9EEQJIE039465@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Oct 14 14:26:19 2009
New Revision: 198080
URL: http://svn.freebsd.org/changeset/base/198080

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.
  
  Approved by:	re (kensmith)

Modified:
  stable/8/lib/libc/   (props changed)
  stable/8/lib/libc/gen/   (props changed)
  stable/8/lib/libc/stdio/asprintf.c   (props changed)
  stable/8/lib/libc/stdtime/   (props changed)
  stable/8/lib/libc/string/ffsll.c   (props changed)
  stable/8/lib/libc/string/flsll.c   (props changed)
  stable/8/lib/libc/string/wcpcpy.c   (props changed)
  stable/8/lib/libc/string/wcpncpy.c   (props changed)
  stable/8/lib/libc/sys/nanosleep.2

Modified: stable/8/lib/libc/sys/nanosleep.2
==============================================================================
--- stable/8/lib/libc/sys/nanosleep.2	Wed Oct 14 14:13:42 2009	(r198079)
+++ stable/8/lib/libc/sys/nanosleep.2	Wed Oct 14 14:26:19 2009	(r198080)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910141426.n9EEQJIE039465>