summaryrefslogtreecommitdiffstats
path: root/share/man/man3/pthread_suspend_np.3
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man3/pthread_suspend_np.3')
-rw-r--r--share/man/man3/pthread_suspend_np.320
1 files changed, 8 insertions, 12 deletions
diff --git a/share/man/man3/pthread_suspend_np.3 b/share/man/man3/pthread_suspend_np.3
index d742a86..c8a9c8f 100644
--- a/share/man/man3/pthread_suspend_np.3
+++ b/share/man/man3/pthread_suspend_np.3
@@ -39,7 +39,7 @@
.Sh DESCRIPTION
The
.Fn pthread_suspend_np
-function called on active thread cause it to suspend.
+function, called on an active thread, causes it to suspend.
.Sh RETURN VALUES
If successful,
.Fn pthread_suspend_np
@@ -49,15 +49,15 @@ Otherwise, an error number is returned to indicate the error.
The
.Fn pthread_suspend_np
function will fail if:
-.Bl -tag -witdh Er
+.Bl -tag -width Er
.It Bq Er EDEADLK
-Attempt to suspend current thread
+An attempt was made to suspend the current thread.
.It Bq Er EINVAL
-The value specified by
+The value specified by the
.Fa tid
-is invalid
+argument is invalid.
.It Bq ESRC
-No thread could be found corresponding to thread ID specified by
+No thread could be found corresponding to the thread ID specified by the
.Fa tid
argument.
.El
@@ -66,9 +66,5 @@ argument.
.Xr pthread_resume_np 3 ,
.Xr pthread_suspend_all_np 3
.Sh AUTHORS
-The
-.Nm
-manpage was written by
-.An Alexey Zelkin
-.Aq phantom@FreeBSD.org
-
+This manual page was written by
+.An Alexey Zelkin Aq phantom@FreeBSD.org .
OpenPOWER on IntegriCloud