Interface Libraries libthread(3LIB)
NAME
libthread - threads library
SYNOPSIS
cc -mt [ flag... ] file... [ library... ]
DESCRIPTION
Historically, functions in libthread provided threading sup-
port. 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 applica-
tion development need not specify -lthread.
INTERFACES
The shared object libthread.so.1 provides the public inter-
faces defined below. See Intro(3) for additional information
on shared object interfaces.
condbroadcast conddestroy
condinit condreltimedwait
condsignal condtimedwait
condwait mutexdestroy
mutexinit mutexlock
mutextrylock mutexunlock
rwrdlock rwtryrdlock
rwtrywrlock rwunlock
rwwrlock rwlockdestroy
rwlockinit semadestroy
semainit semapost
sematrywait semawait
thrcontinue thrcreate
threxit thrgetconcurrency
thrgetprio thrgetspecific
thrjoin thrkeycreate
thrkill thrmain
thrminstack thrself
thrsetconcurrency thrsetprio
thrsetspecific thrsigsetmask
thrstksegment thrsuspend
thryield
FILES
/lib/libthread.so.1 a filter on libc.so.1
SunOS 5.11 Last change: 24 Mar 2004 1
Interface Libraries libthread(3LIB)
/lib/64/libthread.so.1 a filter on 64/libc.so.1
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsl (32-bit)
SUNWcslx (64-bit)
MT-Level Safe
SEE ALSO
pvs(1), Intro(2), Intro(3), libc(3LIB), libcdb(3LIB),
libpthread(3LIB), attributes(5), threads(5)
SunOS 5.11 Last change: 24 Mar 2004 2
|