diff options
author | bjk <bjk@FreeBSD.org> | 2013-01-05 00:23:26 +0000 |
---|---|---|
committer | bjk <bjk@FreeBSD.org> | 2013-01-05 00:23:26 +0000 |
commit | 604b10857db1d0d52761b12ecca7150ff74190d8 (patch) | |
tree | 9ca412c6be898329d838b2503b666166d7eb3cc9 /share/man/man9/sleep.9 | |
parent | afd567e6cf4cc835ad967fddcfcf72330c3467c9 (diff) | |
download | FreeBSD-src-604b10857db1d0d52761b12ecca7150ff74190d8.zip FreeBSD-src-604b10857db1d0d52761b12ecca7150ff74190d8.tar.gz |
Fix some minor inaccuracies introduced in r243251.
Also correct the comment in kern_synch.c which was the source of the
problematic text.
Reviewed by: kib (previous version)
Approved by: hrs (mentor)
Diffstat (limited to 'share/man/man9/sleep.9')
-rw-r--r-- | share/man/man9/sleep.9 | 12 |
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. |