1libthread(3LIB)               Interface Libraries              libthread(3LIB)
2
3
4

NAME

6       libthread - threads library
7

SYNOPSIS

9       cc -mt [ flag... ] file...  [ library... ]
10
11

DESCRIPTION

13       Historically,  functions  in libthread provided threading support. This
14       functionality now resides in libc(3LIB).
15
16
17       This library is maintained to provide backward compatibility  for  both
18       runtime  and compilation environments. The shared object is implemented
19       as a filter on libc.so.1. New application development need not  specify
20       -lthread.
21

INTERFACES

23       The shared object libthread.so.1 provides the public interfaces defined
24       below. See Intro(3) for additional information on shared object  inter‐
25       faces.
26
27
28
29
30       cond_broadcast                cond_destroy
31       cond_init                     cond_reltimedwait
32       cond_signal                   cond_timedwait
33       cond_wait                     mutex_destroy
34       mutex_init                    mutex_lock
35       mutex_trylock                 mutex_unlock
36       rw_rdlock                     rw_tryrdlock
37       rw_trywrlock                  rw_unlock
38       rw_wrlock                     rwlock_destroy
39       rwlock_init                   sema_destroy
40       sema_init                     sema_post
41       sema_trywait                  sema_wait
42       thr_continue                  thr_create
43       thr_exit                      thr_getconcurrency
44       thr_getprio                   thr_getspecific
45       thr_join                      thr_keycreate
46       thr_kill                      thr_main
47       thr_min_stack                 thr_self
48       thr_setconcurrency            thr_setprio
49       thr_setspecific               thr_sigsetmask
50       thr_stksegment                thr_suspend
51       thr_yield
52
53

FILES

55       /lib/libthread.so.1       a filter on libc.so.1
56
57
58       /lib/64/libthread.so.1    a filter on 64/libc.so.1
59
60

ATTRIBUTES

62       See attributes(5) for descriptions of the following attributes:
63
64
65
66
67       ┌─────────────────────────────┬─────────────────────────────┐
68       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
69       ├─────────────────────────────┼─────────────────────────────┤
70       │Availability                 │SUNWcsl (32-bit)             │
71       ├─────────────────────────────┼─────────────────────────────┤
72       │                             │SUNWcslx (64-bit)            │
73       ├─────────────────────────────┼─────────────────────────────┤
74       │MT-Level                     │Safe                         │
75       └─────────────────────────────┴─────────────────────────────┘
76

SEE ALSO

78       pvs(1),      Intro(2),     Intro(3),     libc(3LIB),     libc_db(3LIB),
79       libpthread(3LIB), attributes(5), threads(5)
80
81
82
83SunOS 5.11                        24 Mar 2004                  libthread(3LIB)
Impressum