summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c_db
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c_db')
-rw-r--r--usr/src/man/man3c_db/td_init.3c_db17
-rw-r--r--usr/src/man/man3c_db/td_log.3c_db13
-rw-r--r--usr/src/man/man3c_db/td_sync_get_info.3c_db51
-rw-r--r--usr/src/man/man3c_db/td_ta_enable_stats.3c_db23
-rw-r--r--usr/src/man/man3c_db/td_ta_event_addr.3c_db69
-rw-r--r--usr/src/man/man3c_db/td_ta_get_nthreads.3c_db23
-rw-r--r--usr/src/man/man3c_db/td_ta_map_addr2sync.3c_db25
-rw-r--r--usr/src/man/man3c_db/td_ta_map_id2thr.3c_db25
-rw-r--r--usr/src/man/man3c_db/td_ta_new.3c_db25
-rw-r--r--usr/src/man/man3c_db/td_ta_setconcurrency.3c_db23
-rw-r--r--usr/src/man/man3c_db/td_ta_sync_iter.3c_db25
-rw-r--r--usr/src/man/man3c_db/td_thr_dbsuspend.3c_db21
-rw-r--r--usr/src/man/man3c_db/td_thr_get_info.3c_db61
-rw-r--r--usr/src/man/man3c_db/td_thr_getgregs.3c_db27
-rw-r--r--usr/src/man/man3c_db/td_thr_lockowner.3c_db23
-rw-r--r--usr/src/man/man3c_db/td_thr_setprio.3c_db15
-rw-r--r--usr/src/man/man3c_db/td_thr_setsigpending.3c_db21
-rw-r--r--usr/src/man/man3c_db/td_thr_sleepinfo.3c_db21
-rw-r--r--usr/src/man/man3c_db/td_thr_tsd.3c_db21
-rw-r--r--usr/src/man/man3c_db/td_thr_validate.3c_db23
20 files changed, 133 insertions, 419 deletions
diff --git a/usr/src/man/man3c_db/td_init.3c_db b/usr/src/man/man3c_db/td_init.3c_db
index f19bf88bcd..505395a960 100644
--- a/usr/src/man/man3c_db/td_init.3c_db
+++ b/usr/src/man/man3c_db/td_init.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_init 3C_DB "19 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_INIT 3C_DB "Oct 19, 1998"
.SH NAME
td_init \- performs initialization for libc_db library of interfaces
.SH SYNOPSIS
@@ -26,23 +26,19 @@ function can be called.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR \fR
.ad
.RS 11n
-.rt
The \fBlibc_db()\fR library of interfaces successfully initialized.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR \fR
.ad
.RS 11n
-.rt
Initialization failed.
.RE
@@ -54,13 +50,12 @@ See \fBattributes\fR(5) for description 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 LevelSafe
+MT Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_log.3c_db b/usr/src/man/man3c_db/td_log.3c_db
index 4aec073ed1..94979562e2 100644
--- a/usr/src/man/man3c_db/td_log.3c_db
+++ b/usr/src/man/man3c_db/td_log.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_log 3C_DB "19 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_LOG 3C_DB "Oct 19, 1998"
.SH NAME
td_log \- placeholder for future logging functionality
.SH SYNOPSIS
@@ -29,13 +29,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 LevelSafe
+MT Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_sync_get_info.3c_db b/usr/src/man/man3c_db/td_sync_get_info.3c_db
index 8a4f4eee5a..0eeac0e1cd 100644
--- a/usr/src/man/man3c_db/td_sync_get_info.3c_db
+++ b/usr/src/man/man3c_db/td_sync_get_info.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_sync_get_info 3C_DB "5 Jun 2007" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_SYNC_GET_INFO 3C_DB "Jun 5, 2007"
.SH NAME
td_sync_get_info, td_ta_sync_tracking_enable, td_sync_get_stats,
td_sync_setstate, td_sync_waiters \- operations on a synchronization object in
@@ -81,12 +81,10 @@ identified by \fBsh_p\fR. The \fBtd_syncinfo_t\fR structure contains the
following fields:
.sp
.ne 2
-.mk
.na
\fB\fBtd_thragent_t *\fR\fIsi_ta_p\fR\fR
.ad
.RS 29n
-.rt
The internal process handle identifying the target process through which this
synchronization object handle was obtained. Synchronization objects may be
process-private or process-shared. In the latter case, the same synchronization
@@ -96,151 +94,125 @@ synchronization object.
.sp
.ne 2
-.mk
.na
\fB\fBpsaddr_t\fR \fIsi_sv_addr\fR\fR
.ad
.RS 29n
-.rt
The address of the synchronization object in this target process's address
space.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBtd_sync_type_e\fR \fIsi_type\fR\fR
.ad
.RS 29n
-.rt
The type of the synchronization variable: mutex, condition variable, semaphore,
or readers-writer lock.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBint\fR \fIsi_shared_type\fR\fR
.ad
.RS 29n
-.rt
If \fIsi_shared_type\fR is non-zero, this synchronization object is
process-shared, otherwise it is process-private.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBtd_sync_flags_t\fR \fIsi_flags\fR\fR
.ad
.RS 29n
-.rt
Flags dependent on the type of the synchronization object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBint\fR \fIsi_state.sema_count\fR\fR
.ad
.RS 29n
-.rt
Semaphores only. The current value of the semaphore
.RE
.sp
.ne 2
-.mk
.na
\fB\fBint\fR \fIsi_state.nreaders\fR\fR
.ad
.RS 29n
-.rt
Readers-writer locks only. The number of readers currently holding the lock, or
\fB-1\fR, if a writer is currently holding the lock.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBint\fR \fIsi_state.mutex_locked\fR\fR
.ad
.RS 29n
-.rt
For mutexes only. Non-zero if and only if the mutex is currently locked.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBint\fR \fIsi_size\fR\fR
.ad
.RS 29n
-.rt
The size of the synchronization object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBuint8_t\fR \fIsi_has_waiters\fR\fR
.ad
.RS 29n
-.rt
Non-zero if and only if at least one thread is blocked on this synchronization
object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBuint8_t\fR \fIsi_is_wlocked\fR\fR
.ad
.RS 29n
-.rt
For reader-writer locks only. The value is non-zero if and only if this lock is
held by a writer.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBuint8_t\fR \fIsi_rcount\fR\fR
.ad
.RS 29n
-.rt
\fBPTHREAD_MUTEX_RECURSIVE\fR mutexes only. If the mutex is held, the recursion
count.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBuint8_t\fR \fIsi_prioceiling\fR\fR
.ad
.RS 29n
-.rt
\fBPTHREAD_PRIO_PROTECT\fR protocol mutexes only. The priority ceiling.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBtd_thrhandle_t\fR \fIsi_owner\fR\fR
.ad
.RS 29n
-.rt
Mutexes and readers-writer locks only. This is the thread holding the mutex, or
the write lock, if this is a reader-writer lock. The value is \fINULL\fR if
no one holds the mutex or write-lock.
@@ -248,12 +220,10 @@ no one holds the mutex or write-lock.
.sp
.ne 2
-.mk
.na
\fB\fBpid_t\fR \fIsi_ownerpid\fR\fR
.ad
.RS 29n
-.rt
Mutexes only. For a locked process-shared mutex, this is the process-ID of the
process containing the owning thread.
.RE
@@ -293,45 +263,37 @@ is terminated early. See \fBtd_ta_thr_iter\fR(3C_DB).
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR \fR
.ad
.RS 13n
-.rt
The call returned successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR \fR
.ad
.RS 13n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR \fR
.ad
.RS 13n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR \fR
.ad
.RS 13n
-.rt
A libc_db-internal error occurred.
.RE
@@ -343,13 +305,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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_ta_enable_stats.3c_db b/usr/src/man/man3c_db/td_ta_enable_stats.3c_db
index edee8fdf6c..ac186649cc 100644
--- a/usr/src/man/man3c_db/td_ta_enable_stats.3c_db
+++ b/usr/src/man/man3c_db/td_ta_enable_stats.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_ta_enable_stats 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_TA_ENABLE_STATS 3C_DB "Oct 20, 1998"
.SH NAME
td_ta_enable_stats, td_ta_reset_stats, td_ta_get_stats \- collect target
process statistics for libc_db
@@ -59,7 +59,7 @@ contains the following members:
.sp
.in +2
.nf
-typedef struct {
+typedef struct {
int nthreads; /* total number of threads in use */
int r_concurrency; /* requested concurrency level */
int nrunnable_num; /* numerator of avg runnable threads */
@@ -96,45 +96,37 @@ number of idle \fBLWP\fRs.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR \fR
.ad
.RS 13n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTA\fR \fR
.ad
.RS 13n
-.rt
An invalid internal process handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR \fR
.ad
.RS 13n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR \fR
.ad
.RS 13n
-.rt
Something else went wrong.
.RE
@@ -146,13 +138,12 @@ See \fBattributes\fR(5) for description 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 LevelSafe
+MT Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_ta_event_addr.3c_db b/usr/src/man/man3c_db/td_ta_event_addr.3c_db
index b146f75962..15cd2d26fd 100644
--- a/usr/src/man/man3c_db/td_ta_event_addr.3c_db
+++ b/usr/src/man/man3c_db/td_ta_event_addr.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_ta_event_addr 3C_DB "19 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_TA_EVENT_ADDR 3C_DB "Oct 19, 1998"
.SH NAME
td_ta_event_addr, td_thr_event_enable, td_ta_set_event, td_thr_set_event,
td_ta_clear_event, td_thr_clear_event, td_ta_event_getmsg, td_thr_event_getmsg,
@@ -137,155 +137,127 @@ The event types, and the additional information, if any, reported with each
event, are:
.sp
.ne 2
-.mk
.na
\fB\fBTD_READY\fR\fR
.ad
.RS 18n
-.rt
The thread became ready to execute.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_SLEEP\fR\fR
.ad
.RS 18n
-.rt
The thread has blocked on a synchronization object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_SWITCHTO\fR\fR
.ad
.RS 18n
-.rt
A runnable thread is being assigned to \fBLWP.\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_SWITCHFROM\fR\fR
.ad
.RS 18n
-.rt
A running thread is being removed from its \fBLWP.\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_LOCK_TRY\fR\fR
.ad
.RS 18n
-.rt
A thread is trying to get an unavailable lock.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_CATCHSIG\fR\fR
.ad
.RS 18n
-.rt
A signal was posted to a thread.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_IDLE\fR\fR
.ad
.RS 18n
-.rt
An \fBLWP\fR is becoming idle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_CREATE\fR\fR
.ad
.RS 18n
-.rt
A thread is being created.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DEATH\fR\fR
.ad
.RS 18n
-.rt
A thread has terminated.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_PREEMPT\fR\fR
.ad
.RS 18n
-.rt
A thread is being preempted.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_PRI_INHERIT\fR\fR
.ad
.RS 18n
-.rt
A thread is inheriting an elevated priority from another thread.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_REAP\fR\fR
.ad
.RS 18n
-.rt
A thread is being reaped.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_CONCURRENCY\fR\fR
.ad
.RS 18n
-.rt
The number of \fBLWPs\fR is changing.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_TIMEOUT\fR\fR
.ad
.RS 18n
-.rt
A condition-variable timed wait expired.
.RE
@@ -340,67 +312,55 @@ Several macros are provided for manipulating event sets of type
\fBtd_thr_events_t\fR:
.sp
.ne 2
-.mk
.na
\fB\fBtd_event_emptyset\fR \fR
.ad
.RS 22n
-.rt
Sets its argument to the \fINULL\fR event set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBtd_event_fillset\fR\fR
.ad
.RS 22n
-.rt
Sets its argument to the set of all events.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBtd_event_addset\fR\fR
.ad
.RS 22n
-.rt
Adds a specific event type to an event set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBtd_event_delset\fR\fR
.ad
.RS 22n
-.rt
Deletes a specific event type from an event set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBtd_eventismember\fR\fR
.ad
.RS 22n
-.rt
Tests whether a specific event type is a member of an event set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBtd_eventisempty\fR\fR
.ad
.RS 22n
-.rt
Tests whether an event set is the \fINULL\fR set.
.RE
@@ -410,80 +370,66 @@ Tests whether an event set is the \fINULL\fR set.
The following values may be returned for all thread event routines:
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call returned successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR\fR
.ad
.RS 12n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTA\fR\fR
.ad
.RS 12n
-.rt
An invalid internal process handle was passed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADPH\fR\fR
.ad
.RS 12n
-.rt
There is a \fINULL\fR external process handle associated with this internal
process handle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_NOMSG\fR\fR
.ad
.RS 12n
-.rt
No event message was available to return to \fBtd_thr_event_getmsg()\fR or
\fBtd_ta_event_getmsg()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
Some other parameter error occurred, or a \fBlibc_db()\fR internal error
occurred.
.RE
@@ -494,12 +440,10 @@ The following value can be returned for \fBtd_thr_event_enable()\fR,
\fBtd_thr_set_event()\fR, and \fBtd_thr_clear_event()\fR only:
.sp
.ne 2
-.mk
.na
\fB\fBTD_NOCAPAB\fR \fR
.ad
.RS 15n
-.rt
Because the agent thread in the target process has not completed
initialization, this operation cannot be performed. The operation can be
performed after the target process has been allowed to make some forward
@@ -514,13 +458,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_ta_get_nthreads.3c_db b/usr/src/man/man3c_db/td_ta_get_nthreads.3c_db
index 999f583ec3..98f0151a57 100644
--- a/usr/src/man/man3c_db/td_ta_get_nthreads.3c_db
+++ b/usr/src/man/man3c_db/td_ta_get_nthreads.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_ta_get_nthreads 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_TA_GET_NTHREADS 3C_DB "Oct 20, 1998"
.SH NAME
td_ta_get_nthreads \- gets the total number of threads in a process for libc_db
.SH SYNOPSIS
@@ -26,57 +26,47 @@ is written into *\fInthread_p\fR.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTA\fR\fR
.ad
.RS 12n
-.rt
An invalid internal process handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADPH\fR\fR
.ad
.RS 12n
-.rt
There is a \fINULL\fR external process handle associated with this internal
process handle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
The \fInthread_p\fR argument was \fINULL,\fR or a \fBlibc_db\fR internal error
occurred.
.RE
@@ -89,13 +79,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_ta_map_addr2sync.3c_db b/usr/src/man/man3c_db/td_ta_map_addr2sync.3c_db
index 6a7f11e9af..f3d0bef30b 100644
--- a/usr/src/man/man3c_db/td_ta_map_addr2sync.3c_db
+++ b/usr/src/man/man3c_db/td_ta_map_addr2sync.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_ta_map_addr2sync 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_TA_MAP_ADDR2SYNC 3C_DB "Oct 20, 1998"
.SH NAME
td_ta_map_addr2sync \- get a synchronization object handle from a
synchronization object's address
@@ -29,69 +29,57 @@ indeed point at a synchronization object. The handle is returned in
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 13n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTA\fR\fR
.ad
.RS 13n
-.rt
An invalid internal process handle was passed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADPH\fR\fR
.ad
.RS 13n
-.rt
There is a \fINULL\fR external process handle associated with this internal
process handle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADSH\fR\fR
.ad
.RS 13n
-.rt
The \fIsh_p\fR argument is \fINULL\fR or \fIaddr\fR does not appear to point
to a valid synchronization object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR \fR
.ad
.RS 13n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR \fR
.ad
.RS 13n
-.rt
\fBaddr\fR is \fINULL,\fR or a \fBlibc_db\fR internal error occurred.
.RE
@@ -103,13 +91,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_ta_map_id2thr.3c_db b/usr/src/man/man3c_db/td_ta_map_id2thr.3c_db
index bd2754c184..0644d1768d 100644
--- a/usr/src/man/man3c_db/td_ta_map_id2thr.3c_db
+++ b/usr/src/man/man3c_db/td_ta_map_id2thr.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_ta_map_id2thr 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_TA_MAP_ID2THR 3C_DB "Oct 20, 1998"
.SH NAME
td_ta_map_id2thr, td_ta_map_lwp2thr \- convert a thread ID or LWP ID to a
thread handle
@@ -37,57 +37,47 @@ handle for the thread that is currently executing on the light weight process (
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTA\fR\fR
.ad
.RS 12n
-.rt
An invalid internal process handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADPH\fR\fR
.ad
.RS 12n
-.rt
There is a \fINULL\fR external process handle associated with this internal
process handle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_NOTHR\fR\fR
.ad
.RS 12n
-.rt
Either there is no thread with the given thread ID ( \fBtd_ta_map_id2thr\fR) or
no thread is currently executing on the given \fBLWP\fR (
\fBtd_ta_map_lwp2thr\fR).
@@ -95,12 +85,10 @@ no thread is currently executing on the given \fBLWP\fR (
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
The call did not complete successfully.
.RE
@@ -112,13 +100,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_ta_new.3c_db b/usr/src/man/man3c_db/td_ta_new.3c_db
index cd0e47451d..d473bc4543 100644
--- a/usr/src/man/man3c_db/td_ta_new.3c_db
+++ b/usr/src/man/man3c_db/td_ta_new.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_ta_new 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_TA_NEW 3C_DB "Oct 20, 1998"
.SH NAME
td_ta_new, td_ta_delete, td_ta_get_ph \- allocate and deallocate process
handles for libc_db
@@ -63,67 +63,55 @@ useful for checking internal consistency.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 18n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADPH\fR\fR
.ad
.RS 18n
-.rt
A \fINULL\fR external process handle was passed to \fBtd_ta_new()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 18n
-.rt
The \fIta_pp\fR argument is \fINULL\fR or an internal error occurred.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 18n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_MALLOC\fR\fR
.ad
.RS 18n
-.rt
Memory allocation failure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_NOLIBTHREAD\fR\fR
.ad
.RS 18n
-.rt
The target process does not appear to be multithreaded.
.RE
@@ -135,13 +123,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_ta_setconcurrency.3c_db b/usr/src/man/man3c_db/td_ta_setconcurrency.3c_db
index f8a24b87d9..cda1d2742a 100644
--- a/usr/src/man/man3c_db/td_ta_setconcurrency.3c_db
+++ b/usr/src/man/man3c_db/td_ta_setconcurrency.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_ta_setconcurrency 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_TA_SETCONCURRENCY 3C_DB "Oct 20, 1998"
.SH NAME
td_ta_setconcurrency \- set concurrency level for target process
.SH SYNOPSIS
@@ -25,34 +25,28 @@ the process had called \fBthr_setconcurrency\fR(3C).
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTA\fR\fR
.ad
.RS 12n
-.rt
An invalid internal process handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADPH\fR\fR
.ad
.RS 12n
-.rt
There is a \fINULL\fR external process handle associated with this internal
process handle. \fBTD_NOCAPAB\fR The client did not implement the
\fBps_kill\fR(3PROC) function in the imported interface.
@@ -60,23 +54,19 @@ process handle. \fBTD_NOCAPAB\fR The client did not implement the
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
A \fBlibc_db\fR internal error occurred.
.RE
@@ -88,13 +78,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_ta_sync_iter.3c_db b/usr/src/man/man3c_db/td_ta_sync_iter.3c_db
index 9e5b7cd243..4df27aeba4 100644
--- a/usr/src/man/man3c_db/td_ta_sync_iter.3c_db
+++ b/usr/src/man/man3c_db/td_ta_sync_iter.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_ta_sync_iter 3C_DB "19 Jun 2001" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_TA_SYNC_ITER 3C_DB "Jun 19, 2001"
.SH NAME
td_ta_sync_iter, td_ta_thr_iter, td_ta_tsd_iter \- iterator functions on
process handles from libc_db
@@ -85,7 +85,6 @@ returned.
The selection parameters and corresponding wild-card values are:
.sp
.ne 2
-.mk
.na
\fB\fBstate (TD_THR_ANY_STATE\fR):\fR
.ad
@@ -97,7 +96,6 @@ Select only threads whose state matches \fBstate\fR. See
.sp
.ne 2
-.mk
.na
\fB\fBti_pri (TD_THR_LOWEST_PRIORITY\fR):\fR
.ad
@@ -108,7 +106,6 @@ Select only threads for which the priority is at least \fBti_pri\fR.
.sp
.ne 2
-.mk
.na
\fB\fBti_sigmask_p (TD_SIGNO_MASK\fR):\fR
.ad
@@ -119,7 +116,6 @@ Select only threads whose signal mask exactly matches *\fIti_sigmask_p\fR.
.sp
.ne 2
-.mk
.na
\fB\fBti_user_flags (TD_THR_ANY_USER_FLAGS\fR):\fR
.ad
@@ -137,45 +133,37 @@ key can be obtained by calling \fBtd_thr_tsd\fR(3C_DB).
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTA\fR\fR
.ad
.RS 12n
-.rt
An invalid process handle was passed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
The call did not complete successfully.
.RE
@@ -187,13 +175,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_dbsuspend.3c_db b/usr/src/man/man3c_db/td_thr_dbsuspend.3c_db
index d7b0144561..8f6b5bef5e 100644
--- a/usr/src/man/man3c_db/td_thr_dbsuspend.3c_db
+++ b/usr/src/man/man3c_db/td_thr_dbsuspend.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_dbsuspend 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_DBSUSPEND 3C_DB "Oct 20, 1998"
.SH NAME
td_thr_dbsuspend, td_thr_dbresume \- suspend and resume threads in libc_db
.SH SYNOPSIS
@@ -35,45 +35,37 @@ interfaces. They exist only to maintain interface compatibility with the past.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR \fR
.ad
.RS 13n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR \fR
.ad
.RS 13n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR \fR
.ad
.RS 13n
-.rt
A call to \fBps_lstop()\fR or \fBps_lcontinue()\fR failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR \fR
.ad
.RS 13n
-.rt
A \fBlibc_db\fR internal error occurred.
.RE
@@ -85,13 +77,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_get_info.3c_db b/usr/src/man/man3c_db/td_thr_get_info.3c_db
index a53bf70e11..b0569a4800 100644
--- a/usr/src/man/man3c_db/td_thr_get_info.3c_db
+++ b/usr/src/man/man3c_db/td_thr_get_info.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_get_info 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_GET_INFO 3C_DB "Oct 20, 1998"
.SH NAME
td_thr_get_info \- get thread information in libc_db library of interfaces
.SH SYNOPSIS
@@ -30,38 +30,38 @@ The \fBtd_thrinfo_t\fR structure contains the following fields:
typedef struct td_thrinfo_t {
td_thragen_tx *ti_ta_p /* internal process handle */
unsigned ti_user_flags; /* value of flags parameter */
- thread_t ti_tid; /* thread identifier */
+ thread_t ti_tid; /* thread identifier */
char *ti_tls; /* pointer to thread-local storage*/
- paddr ti_startfunc; /* address of function at which thread
+ paddr ti_startfunc; /* address of function at which thread
execution began*/
paddr ti_stkbase; /* base of thread's stack area*/
int ti_stksize; /* size in bytes of thread's allocated
stack region*/
paddr ti_ro_area; /* address of ulwp_t structure*/
- int ti_ro_size /* size of the ulwp_t structure in
+ int ti_ro_size /* size of the ulwp_t structure in
bytes */
td_thr_state_e ti_state /* state of the thread */
- uchar_t ti_db_suspended /* non-zero if thread suspended by
+ uchar_t ti_db_suspended /* non-zero if thread suspended by
td_thr_dbsuspend*/
td_thr_type_e ti_type /* type of the thread*/
int ti_pc /* value of thread's program counter*/
int ti_sp /* value of thread's stack counter*/
- short ti_flags /* set of special flags used by
+ short ti_flags /* set of special flags used by
libc*/
- int ti_pri /* priority of thread returned by
+ int ti_pri /* priority of thread returned by
thr_getprio(3T)*/
- lwpid_t ti_lid /* id of light weight process (LWP)
+ lwpid_t ti_lid /* id of light weight process (LWP)
executing this thread*/
- sigset_t ti_sigmask /* thread's signal mask. See
+ sigset_t ti_sigmask /* thread's signal mask. See
thr_sigsetmask(3T)*/
u_char ti_traceme /* non-zero if event tracing is on*/
- u_char_t ti_preemptflag /* non-zero if thread preempted when
+ u_char_t ti_preemptflag /* non-zero if thread preempted when
last active*/
- u_char_t ti_pirecflag /* non-zero if thread runs priority
+ u_char_t ti_pirecflag /* non-zero if thread runs priority
beside regular */
- sigset_t ti_pending /* set of signals pending for this
+ sigset_t ti_pending /* set of signals pending for this
thread*/
- td_thr_events_t ti_events /* bitmap of events enabled for this
+ td_thr_events_t ti_events /* bitmap of events enabled for this
thread*/
} ;
.fi
@@ -106,91 +106,75 @@ The \fBti_state\fR member is the state of the thread. The \fBtd_thr_state_e\fR
enumeration type can contain the following values:
.sp
.ne 2
-.mk
.na
\fB\fBTD_THR_ANY_STATE\fR \fR
.ad
.RS 26n
-.rt
This value is never returned by \fBtd_thr_get_info()\fR but is used as a
wildcard to select threads in \fBtd_ta_thr_iter()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_THR_UNKNOWN\fR \fR
.ad
.RS 26n
-.rt
The \fBlibc_db\fR library cannot determine the state of the thread.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_THR_STOPPED\fR \fR
.ad
.RS 26n
-.rt
The thread has been stopped by a call to \fBthr_suspend\fR(3C).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_THR_RUN\fR \fR
.ad
.RS 26n
-.rt
The thread is runnable, but it is not currently assigned to an \fBLWP\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_THR_ACTIVE\fR \fR
.ad
.RS 26n
-.rt
The thread is currently executing on an \fBLWP\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_THR_ZOMBIE\fR \fR
.ad
.RS 26n
-.rt
The thread has exited, but it has not yet been deallocated by a call to
\fBthr_join\fR(3C).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_THR_SLEEP\fR \fR
.ad
.RS 26n
-.rt
The thread is not currently runnable.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_THR_STOPPED_ASLEEP\fR \fR
.ad
.RS 26n
-.rt
The thread is both blocked by \fBTD_THR_SLEEP\fR and stopped by a call to
\fBtd_thr_dbsuspend\fR(3C_DB).
.RE
@@ -253,45 +237,37 @@ The \fBti_events\fR member is the bitmap of events enabled for this thread.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR\fR
.ad
.RS 12n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
The call did not complete successfully.
.RE
@@ -303,13 +279,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_getgregs.3c_db b/usr/src/man/man3c_db/td_thr_getgregs.3c_db
index b449d899a8..da3fa49eef 100644
--- a/usr/src/man/man3c_db/td_thr_getgregs.3c_db
+++ b/usr/src/man/man3c_db/td_thr_getgregs.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_getgregs 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_GETGREGS 3C_DB "Oct 20, 1998"
.SH NAME
td_thr_getgregs, td_thr_setgregs, td_thr_getfpregs, td_thr_setfpregs,
td_thr_getxregsize, td_thr_getxregs, td_thr_setxregs \- reading and writing
@@ -93,45 +93,37 @@ On a thread not currently assigned to an \fBLWP,\fR only %pc, %sp, %ebp, %edi,
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 18n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR\fR
.ad
.RS 18n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 18n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_PARTIALREGS\fR\fR
.ad
.RS 18n
-.rt
Because the thread is not currently assigned to a \fBLWP,\fR not all registers
were read or written. See \fBDESCRIPTION\fR for a discussion about which
registers are not saved when a thread is not assigned to an \fBLWP\fR.
@@ -139,12 +131,10 @@ registers are not saved when a thread is not assigned to an \fBLWP\fR.
.sp
.ne 2
-.mk
.na
\fB\fBTD_NOFPREGS\fR\fR
.ad
.RS 18n
-.rt
Floating point registers could not be read or written, either because the
thread is not currently assigned to an \fBLWP\fR, or because the architecture
does not have such registers.
@@ -152,12 +142,10 @@ does not have such registers.
.sp
.ne 2
-.mk
.na
\fB\fBTD_NOXREGS\fR\fR
.ad
.RS 18n
-.rt
Architecture-dependent extra state registers could not be read or written,
either because the thread is not currently assigned to an \fBLWP\fR, or because
the architecture does not have such registers, or because the architecture is
@@ -166,12 +154,10 @@ not a SPARC architecture.
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 18n
-.rt
A \fBlibc_db\fR internal error occurred.
.RE
@@ -183,13 +169,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_lockowner.3c_db b/usr/src/man/man3c_db/td_thr_lockowner.3c_db
index c6ee14b02c..7c38580afd 100644
--- a/usr/src/man/man3c_db/td_thr_lockowner.3c_db
+++ b/usr/src/man/man3c_db/td_thr_lockowner.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_lockowner 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_LOCKOWNER 3C_DB "Oct 20, 1998"
.SH NAME
td_thr_lockowner \- iterate over the set of locks owned by a thread
.SH SYNOPSIS
@@ -31,57 +31,47 @@ value.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR\fR
.ad
.RS 12n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADPH\fR\fR
.ad
.RS 12n
-.rt
There is a \fINULL\fR external process handle associated with this internal
process handle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
A \fBlibc_db\fR internal error occurred.
.RE
@@ -93,13 +83,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_setprio.3c_db b/usr/src/man/man3c_db/td_thr_setprio.3c_db
index 388d52d12d..fecf05d57f 100644
--- a/usr/src/man/man3c_db/td_thr_setprio.3c_db
+++ b/usr/src/man/man3c_db/td_thr_setprio.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_setprio 3C_DB "1 Apr 2008" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_SETPRIO 3C_DB "Apr 1, 2008"
.SH NAME
td_thr_setprio \- set the priority of a thread
.SH SYNOPSIS
@@ -25,12 +25,10 @@ The \fBtd_thr_setprio()\fR function is obsolete. It always fails and returns
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_NOCAPAB\fR\fR
.ad
.RS 14n
-.rt
Capability not available.
.RE
@@ -42,13 +40,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_setsigpending.3c_db b/usr/src/man/man3c_db/td_thr_setsigpending.3c_db
index 3ed6217747..9026e83642 100644
--- a/usr/src/man/man3c_db/td_thr_setsigpending.3c_db
+++ b/usr/src/man/man3c_db/td_thr_setsigpending.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_setsigpending 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_SETSIGPENDING 3C_DB "Oct 20, 1998"
.SH NAME
td_thr_setsigpending, td_thr_sigsetmask \- manage thread signals for libc_db
.SH SYNOPSIS
@@ -71,45 +71,37 @@ set the new signal mask with\fBtd_thr_sigsetmask()\fR.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR\fR
.ad
.RS 12n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
A \fBlibc_db\fR internal error occurred.
.RE
@@ -121,13 +113,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_sleepinfo.3c_db b/usr/src/man/man3c_db/td_thr_sleepinfo.3c_db
index d1bdf6289e..7c7ac70d65 100644
--- a/usr/src/man/man3c_db/td_thr_sleepinfo.3c_db
+++ b/usr/src/man/man3c_db/td_thr_sleepinfo.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_sleepinfo 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_SLEEPINFO 3C_DB "Oct 20, 1998"
.SH NAME
td_thr_sleepinfo \- return the synchronization handle for the object on which a
thread is blocked
@@ -25,45 +25,37 @@ synchronization object on which a sleeping thread is blocked.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR\fR
.ad
.RS 12n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
The thread \fIth_p\fR is not blocked on a synchronization object, or a
\fBlibc_db\fR internal error occurred.
.RE
@@ -76,13 +68,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_tsd.3c_db b/usr/src/man/man3c_db/td_thr_tsd.3c_db
index e4fa56021a..2bfba66696 100644
--- a/usr/src/man/man3c_db/td_thr_tsd.3c_db
+++ b/usr/src/man/man3c_db/td_thr_tsd.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_tsd 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_TSD 3C_DB "Oct 20, 1998"
.SH NAME
td_thr_tsd \- get a thread's thread-specific data for libc_db library of
interfaces
@@ -31,45 +31,37 @@ call \fBtd_ta_tsd_iter\fR(3C_DB).
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR\fR
.ad
.RS 12n
-.rt
An invalid thread handle was passed in.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
A \fBlibc_db\fR internal error occurred.
.RE
@@ -81,13 +73,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3c_db/td_thr_validate.3c_db b/usr/src/man/man3c_db/td_thr_validate.3c_db
index a949c9c704..8bbf082692 100644
--- a/usr/src/man/man3c_db/td_thr_validate.3c_db
+++ b/usr/src/man/man3c_db/td_thr_validate.3c_db
@@ -3,7 +3,7 @@
.\" 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 td_thr_validate 3C_DB "20 Oct 1998" "SunOS 5.11" "Threads Debugging Library Functions"
+.TH TD_THR_VALIDATE 3C_DB "Oct 20, 1998"
.SH NAME
td_thr_validate \- test a thread handle for validity
.SH SYNOPSIS
@@ -24,56 +24,46 @@ handle. A valid thread handle can become invalid if its thread exits.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBTD_OK\fR\fR
.ad
.RS 12n
-.rt
The call completed successfully. \fIth_p\fR is a valid thread handle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_BADTH\fR\fR
.ad
.RS 12n
-.rt
\fIth_p\fR was \fINULL.\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_DBERR\fR\fR
.ad
.RS 12n
-.rt
A call to one of the imported interface routines failed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_NOTHR\fR\fR
.ad
.RS 12n
-.rt
\fIth_p\fR is not a valid thread handle.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTD_ERR\fR\fR
.ad
.RS 12n
-.rt
A \fBlibc_db\fR internal error occurred.
.RE
@@ -85,13 +75,12 @@ See \fBattributes\fR(5) for description 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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO