diff options
author | bjk <bjk@FreeBSD.org> | 2012-11-18 22:52:17 +0000 |
---|---|---|
committer | bjk <bjk@FreeBSD.org> | 2012-11-18 22:52:17 +0000 |
commit | 3566a308c1040a8ff208655ef7e20c45cfa7792f (patch) | |
tree | 348fcc47087fdb2825e51c89013948aefa48fc10 /share/man/man9/sleep.9 | |
parent | 5a5656d092a863075026d6bf72deac53c9a3f4a6 (diff) | |
download | FreeBSD-src-3566a308c1040a8ff208655ef7e20c45cfa7792f.zip FreeBSD-src-3566a308c1040a8ff208655ef7e20c45cfa7792f.tar.gz |
Improve grammar.
Approved by: hrs (mentor)
Diffstat (limited to 'share/man/man9/sleep.9')
-rw-r--r-- | share/man/man9/sleep.9 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index 9141762..665aa1e 100644 --- a/share/man/man9/sleep.9 +++ b/share/man/man9/sleep.9 @@ -102,7 +102,8 @@ If .Fa priority includes the .Dv PCATCH -flag, signals are checked before and after sleeping, otherwise signals are +flag, pending +signals are checked before and after sleeping, otherwise signals are not checked. If .Dv PCATCH @@ -114,17 +115,18 @@ possible, and is returned if the system call should be interrupted by the signal (return .Er EINTR ) . -If +If the .Dv PBDRY flag is specified in addition to .Dv PCATCH , -then the sleeping thread is not stopped while sleeping upon delivery of +then the sleeping thread is not stopped upon delivery of .Dv SIGSTOP -or other stop action. -Instead, it is waken up, assuming that stop occurs on reaching a stop +or other stop action 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. -The flag should be used when sleeping thread owns resources, for instance -vnode locks, that should be freed timely. +The flag should be used when the sleeping thread owns resources, for instance +vnode locks, that should be released in a timely fashion. .Pp The parameter .Fa wmesg |