Date: Sun, 14 Feb 2021 00:46:27 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f94e8beadbd8 - stable/13 - usleep(3): replace 'process' with 'calling thread' Message-ID: <202102140046.11E0kRMK027783@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f94e8beadbd82f758c7663cb7115aeec2fbed7fa commit f94e8beadbd82f758c7663cb7115aeec2fbed7fa Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-02-11 03:49:25 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-02-14 00:45:49 +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102140046.11E0kRMK027783>