summaryrefslogtreecommitdiffstats
path: root/share/man/man3/pthread_multi_np.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-02-24 22:53:26 +0000
committerru <ru@FreeBSD.org>2003-02-24 22:53:26 +0000
commit0dea5415679a9db700f2846b28d2d8ff833032c7 (patch)
tree9409aa78bd0bf64293f9e45238d4a82861b7663b /share/man/man3/pthread_multi_np.3
parent83d0e58172de7563f59519892b23c2fd0e80ca56 (diff)
downloadFreeBSD-src-0dea5415679a9db700f2846b28d2d8ff833032c7.zip
FreeBSD-src-0dea5415679a9db700f2846b28d2d8ff833032c7.tar.gz
mdoc(7) police: Scheduled sweep.
Diffstat (limited to 'share/man/man3/pthread_multi_np.3')
-rw-r--r--share/man/man3/pthread_multi_np.336
1 files changed, 19 insertions, 17 deletions
diff --git a/share/man/man3/pthread_multi_np.3 b/share/man/man3/pthread_multi_np.3
index ba143fe..5588c6c 100644
--- a/share/man/man3/pthread_multi_np.3
+++ b/share/man/man3/pthread_multi_np.3
@@ -30,35 +30,37 @@
.Sh NAME
.Nm pthread_multi_np ,
.Nm pthread_single_np
-.Nd switch betwen multi- and single-threaded scheduling modes
+.Nd "switch between multi- and single-threaded scheduling modes"
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
.In pthread_np.h
.Ft int
-.Fn pthread_multi_np "void"
+.Fn pthread_multi_np void
.Ft int
-.Fn pthread_single_np "void"
+.Fn pthread_single_np void
.Sh DESCRIPTION
The
.Fn pthread_single_np
-function call switches process to single-threaded mode, i.e.
-suspend all threads except current.
-Semantic of this function is similar to
-.Fn pthread_suspend_all_np .
+function switches the process to a single-threaded mode, i.e.,
+suspends all threads except the current.
+The semantics of this function is similar to
+.Xr pthread_suspend_all_np 3 .
.Pp
The
.Fn pthread_multi_np
-function call switches process to multi-threaded mode, entered by
-.Fn pthread_single_np
-Semantic of this function is similar to
-.Fn pthread_resume_all_np .
+function switches the process to a multi-threaded mode.
+The semantics of this function is similar to
+.Xr pthread_resume_all_np 3 .
+.Sh RETURN VALUES
+The
+.Fn pthread_multi_np
+and
+.Nm pthread_single_np
+functions always return 0.
.Sh SEE ALSO
.Xr pthread_resume_all_np 3 ,
-.Xr pthread_single_all_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