From owner-dev-commits-src-branches@freebsd.org Sun Feb 14 00:47:06 2021 Return-Path: Delivered-To: dev-commits-src-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B3A05422D4; Sun, 14 Feb 2021 00:47:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DdT8V1gWsz3p7C; Sun, 14 Feb 2021 00:47:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2C09120ECF; Sun, 14 Feb 2021 00:47:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 11E0l6M0027992; Sun, 14 Feb 2021 00:47:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 11E0l6YY027991; Sun, 14 Feb 2021 00:47:06 GMT (envelope-from git) Date: Sun, 14 Feb 2021 00:47:06 GMT Message-Id: <202102140047.11E0l6YY027991@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 5357bd228fca - stable/12 - usleep(3): replace 'process' with 'calling thread' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 5357bd228fca092453c0970ccb54fc08f5deb939 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the stable branches of the FreeBSD src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2021 00:47:06 -0000 The branch stable/12 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5357bd228fca092453c0970ccb54fc08f5deb939 commit 5357bd228fca092453c0970ccb54fc08f5deb939 Author: Konstantin Belousov AuthorDate: 2021-02-11 03:49:25 +0000 Commit: Konstantin Belousov CommitDate: 2021-02-14 00:46:42 +0000 usleep(3): replace 'process' with 'calling thread' PR: 253395 (cherry picked from commit 4956af2a8f0d7723cb09c98e7f5295b156136f70) --- lib/libc/gen/usleep.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3 index b298380977ba..f6ed9e6bb52e 100644 --- a/lib/libc/gen/usleep.3 +++ b/lib/libc/gen/usleep.3 @@ -28,12 +28,12 @@ .\" @(#)usleep.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd February 13, 1998 +.Dd February 11, 2021 .Dt USLEEP 3 .Os .Sh NAME .Nm usleep -.Nd suspend process execution for an interval measured in microseconds +.Nd suspend thread execution for an interval measured in microseconds .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -43,9 +43,9 @@ .Sh DESCRIPTION The .Fn usleep -function suspends execution of the calling process until either +function suspends execution of the calling thread until either .Fa microseconds -microseconds have elapsed or a signal is delivered to the process and its +microseconds have elapsed or a signal is delivered to the thread and its action is to invoke a signal-catching function or to terminate the process. System activity may lengthen the sleep by an indeterminate amount. @@ -67,7 +67,7 @@ function will fail if: .Bl -tag -width Er .It Bq Er EINTR -A signal was delivered to the process and its +A signal was delivered to the calling thread and its action was to invoke a signal-catching function. .El .Sh SEE ALSO