xref: /titanic_52/usr/src/man/man3lib/libthread.3lib (revision 6a1af1a67532df169a657cce07140be64bdea084)
te
Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
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]
libthread 3LIB "24 Mar 2004" "SunOS 5.11" "Interface Libraries"
NAME
libthread - threads library
SYNOPSIS

cc -mt [ flag... ] file... [ library... ]
DESCRIPTION

Historically, functions in libthread provided threading support. This functionality now resides in libc(3LIB).

This library is maintained to provide backward compatibility for both runtime and compilation environments. The shared object is implemented as a filter on libc.so.1. New application development need not specify -lthread.

INTERFACES

The shared object libthread.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

cond_broadcastcond_destroy
cond_initcond_reltimedwait
cond_signalcond_timedwait
cond_waitmutex_destroy
mutex_initmutex_lock
mutex_trylockmutex_unlock
rw_rdlockrw_tryrdlock
rw_trywrlockrw_unlock
rw_wrlockrwlock_destroy
rwlock_initsema_destroy
sema_initsema_post
sema_trywaitsema_wait
thr_continuethr_create
thr_exitthr_getconcurrency
thr_getpriothr_getspecific
thr_jointhr_keycreate
thr_killthr_main
thr_min_stackthr_self
thr_setconcurrencythr_setprio
thr_setspecificthr_sigsetmask
thr_stksegmentthr_suspend
thr_yield
FILES

/lib/libthread.so.1

a filter on libc.so.1

/lib/64/libthread.so.1

a filter on 64/libc.so.1

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelSafe
SEE ALSO

pvs(1), Intro(2), Intro(3), libc(3LIB), libc_db(3LIB), libpthread(3LIB), attributes(5), threads(5)