summaryrefslogtreecommitdiffstats
path: root/share/man/man9/sleep.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/sleep.9')
-rw-r--r--share/man/man9/sleep.912
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9
index 665aa1e..e65a189 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -102,12 +102,11 @@ If
.Fa priority
includes the
.Dv PCATCH
-flag, pending
-signals are checked before and after sleeping, otherwise signals are
-not checked.
+flag, pending signals are allowed to interrupt the sleep, otherwise
+pending signals are ignored during the sleep.
If
.Dv PCATCH
-is set and a signal needs to be delivered,
+is set and a signal becomes pending,
.Er ERESTART
is returned if the current system call should be restarted if
possible, and
@@ -119,9 +118,10 @@ If the
.Dv PBDRY
flag is specified in addition to
.Dv PCATCH ,
-then the sleeping thread is not stopped upon delivery of
+then the sleeping thread is not stopped when
.Dv SIGSTOP
-or other stop action while it is sleeping.
+becomes pending
+or some other stop action occurs while it is sleeping.
Instead, it is woken up, with the assumption
that the stop will occur on reaching a stop
point when returning to usermode.
OpenPOWER on IntegriCloud