From owner-svn-src-stable-7@FreeBSD.ORG Wed Oct 14 14:29:30 2009 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1220E106566C; Wed, 14 Oct 2009 14:29:30 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D00F88FC1A; Wed, 14 Oct 2009 14:29:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9EETTY5039584; Wed, 14 Oct 2009 14:29:29 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9EETTNl039582; Wed, 14 Oct 2009 14:29:29 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <200910141429.n9EETTNl039582@svn.freebsd.org> From: Konstantin Belousov Date: Wed, 14 Oct 2009 14:29:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r198081 - in stable/7/lib/libc: . sys X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 14:29:30 -0000 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