summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/thr_suspend.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/thr_suspend.3c')
-rw-r--r--usr/src/man/man3c/thr_suspend.3c17
1 files changed, 7 insertions, 10 deletions
diff --git a/usr/src/man/man3c/thr_suspend.3c b/usr/src/man/man3c/thr_suspend.3c
index bf1fd9f160..ef75841ee6 100644
--- a/usr/src/man/man3c/thr_suspend.3c
+++ b/usr/src/man/man3c/thr_suspend.3c
@@ -3,14 +3,14 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH thr_suspend 3C "22 Mar 2002" "SunOS 5.11" "Standard C Library Functions"
+.TH THR_SUSPEND 3C "Mar 22, 2002"
.SH NAME
thr_suspend, thr_continue \- suspend or continue thread execution
.SH SYNOPSIS
.LP
.nf
cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ]
-#include <thread.h>
+#include <thread.h>
\fBint\fR \fBthr_suspend\fR(\fBthread_t\fR \fItarget_thread\fR);
.fi
@@ -50,12 +50,10 @@ return \fB0\fR. Otherwise, a non-zero value is returned to indicate the error.
The \fBthr_suspend()\fR and \fBthr_continue()\fR functions will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBESRCH\fR \fR
.ad
.RS 10n
-.rt
The \fItarget_thread\fR cannot be found in the current process.
.RE
@@ -67,13 +65,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO