Date: Sun, 11 Oct 2009 16:23:11 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r197958 - head/lib/libc/sys Message-ID: <200910111623.n9BGNBlG015888@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sun Oct 11 16:23:11 2009 New Revision: 197958 URL: http://svn.freebsd.org/changeset/base/197958 Log: 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: head/lib/libc/sys/nanosleep.2 Modified: head/lib/libc/sys/nanosleep.2 ============================================================================== --- head/lib/libc/sys/nanosleep.2 Sun Oct 11 14:27:33 2009 (r197957) +++ head/lib/libc/sys/nanosleep.2 Sun Oct 11 16:23:11 2009 (r197958) @@ -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?200910111623.n9BGNBlG015888>