2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH LIBTHREAD 3LIB "Mar 24, 2004"
8 libthread \- threads library
12 cc \fB-mt\fR [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ]
18 Historically, functions in \fBlibthread\fR provided threading support. This
19 functionality now resides in \fBlibc\fR(3LIB).
22 This library is maintained to provide backward compatibility for both runtime
23 and compilation environments. The shared object is implemented as a filter on
24 \fBlibc.so.1\fR. New application development need not specify \fB-lthread\fR.
28 The shared object \fBlibthread.so.1\fR provides the public interfaces defined
29 below. See \fBIntro\fR(3) for additional information on shared object
37 \fBcond_broadcast\fR \fBcond_destroy\fR
38 \fBcond_init\fR \fBcond_reltimedwait\fR
39 \fBcond_signal\fR \fBcond_timedwait\fR
40 \fBcond_wait\fR \fBmutex_destroy\fR
41 \fBmutex_init\fR \fBmutex_lock\fR
42 \fBmutex_trylock\fR \fBmutex_unlock\fR
43 \fBrw_rdlock\fR \fBrw_tryrdlock\fR
44 \fBrw_trywrlock\fR \fBrw_unlock\fR
45 \fBrw_wrlock\fR \fBrwlock_destroy\fR
46 \fBrwlock_init\fR \fBsema_destroy\fR
47 \fBsema_init\fR \fBsema_post\fR
48 \fBsema_trywait\fR \fBsema_wait\fR
49 \fBthr_continue\fR \fBthr_create\fR
50 \fBthr_exit\fR \fBthr_getconcurrency\fR
51 \fBthr_getprio\fR \fBthr_getspecific\fR
52 \fBthr_join\fR \fBthr_keycreate\fR
53 \fBthr_kill\fR \fBthr_main\fR
54 \fBthr_min_stack\fR \fBthr_self\fR
55 \fBthr_setconcurrency\fR \fBthr_setprio\fR
56 \fBthr_setspecific\fR \fBthr_sigsetmask\fR
57 \fBthr_stksegment\fR \fBthr_suspend\fR
65 \fB\fB/lib/libthread.so.1\fR\fR
68 a filter on \fBlibc.so.1\fR
74 \fB\fB/lib/64/libthread.so.1\fR\fR
77 a filter on \fB64/libc.so.1\fR
83 See \fBattributes\fR(5) for descriptions of the following attributes:
91 ATTRIBUTE TYPE ATTRIBUTE VALUE
99 \fBpvs\fR(1), \fBIntro\fR(2), \fBIntro\fR(3), \fBlibc\fR(3LIB),
100 \fBlibc_db\fR(3LIB), \fBlibpthread\fR(3LIB), \fBattributes\fR(5),