diff options
| author | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2021-10-07 19:14:27 +0000 |
|---|---|---|
| committer | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2021-10-08 15:07:50 +0000 |
| commit | bf8f6ffcb66a27f498a18e520758ea0d18a6d2de (patch) | |
| tree | ae74d057235ea710f98ef451d9653e1ac18eaccd | |
| parent | 1c680e620bf7e53d043d10b23bdfc980e45e6455 (diff) | |
| download | src-bf8f6ffcb66a27f498a18e520758ea0d18a6d2de.tar.gz src-bf8f6ffcb66a27f498a18e520758ea0d18a6d2de.zip | |
Mention kern.timecounter.alloweddeviation in nanosleep.1
PR: 224837
Reported by: Aleksander Derevianko
| -rw-r--r-- | lib/libc/sys/nanosleep.2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2 index 19ffcf1b7026..12758a974f7f 100644 --- a/lib/libc/sys/nanosleep.2 +++ b/lib/libc/sys/nanosleep.2 @@ -30,7 +30,7 @@ .\" @(#)sleep.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd March 17, 2017 +.Dd October 7, 2021 .Dt NANOSLEEP 2 .Os .Sh NAME @@ -93,6 +93,8 @@ returns immediately and the calling thread is not suspended. .Pp The suspension time may be longer than requested due to the scheduling of other activity by the system. +It is also subject to the allowed time interval deviation +specified by the sysctl kern.timecounter.alloweddeviation. An unmasked signal will terminate the sleep early, regardless of the .Dv SA_RESTART value on the interrupting signal. |
