Initial revision
[kopensolaris-gnu/glibc.git] / nptl / Versions
1 libc {
2   GLIBC_2.0 {
3     pthread_attr_destroy;
4     pthread_attr_getdetachstate; pthread_attr_setdetachstate;
5     pthread_attr_getinheritsched; pthread_attr_setinheritsched;
6     pthread_attr_getschedparam; pthread_attr_setschedparam;
7     pthread_attr_getschedpolicy;  pthread_attr_setschedpolicy;
8     pthread_attr_getscope; pthread_attr_setscope;
9     pthread_condattr_destroy; pthread_condattr_init;
10     pthread_cond_broadcast; pthread_cond_destroy;
11     pthread_cond_init; pthread_cond_signal; pthread_cond_wait;
12     pthread_equal; pthread_exit;
13     pthread_getschedparam; pthread_setschedparam;
14     pthread_mutex_destroy; pthread_mutex_init;
15     pthread_mutex_lock; pthread_mutex_unlock;
16     pthread_self;
17     pthread_setcancelstate; pthread_setcanceltype;
18   }
19   GLIBC_2.1 {
20     pthread_attr_init;
21   }
22 }
23
24 libpthread {
25   GLIBC_2.0 {
26     pthread_create; pthread_join; pthread_self; pthread_equal;
27     pthread_exit; pthread_detach;
28
29     pthread_getschedparam; pthread_setschedparam;
30
31     pthread_attr_init; pthread_attr_destroy;
32     pthread_attr_getdetachstate; pthread_attr_setdetachstate;
33     pthread_attr_getschedparam; pthread_attr_setschedparam;
34     pthread_attr_getschedpolicy; pthread_attr_setschedpolicy;
35     pthread_attr_getinheritsched; pthread_attr_setinheritsched;
36     pthread_attr_getscope; pthread_attr_setscope;
37
38     pthread_mutex_init; pthread_mutex_destroy;
39     pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
40
41     pthread_mutexattr_init; pthread_mutexattr_destroy;
42
43     pthread_cond_init; pthread_cond_destroy;
44     pthread_cond_wait; pthread_cond_timedwait;
45     pthread_cond_signal; pthread_cond_broadcast;
46
47     pthread_condattr_destroy; pthread_condattr_init;
48
49     pthread_cancel; pthread_testcancel;
50     pthread_setcancelstate; pthread_setcanceltype;
51
52     pthread_sigmask; pthread_kill;
53
54     pthread_key_create; pthread_key_delete;
55     pthread_getspecific; pthread_setspecific;
56
57     pthread_once;
58
59     pthread_atfork;
60
61     flockfile; funlockfile; ftrylockfile;
62
63     # Non-standard POSIX1.x functions.
64     pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
65
66     # Protected names for functions used in other shared objects.
67     __pthread_mutex_init; __pthread_mutex_destroy;
68     __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
69     __pthread_mutexattr_init; __pthread_mutexattr_destroy;
70     __pthread_mutexattr_settype;
71     __pthread_key_create; __pthread_getspecific; __pthread_setspecific;
72     __pthread_once; __pthread_atfork;
73     _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
74
75     # Hidden entry point (through macros).
76     #_pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
77     #_pthread_cleanup_push_defer;
78
79     # Semaphores.
80     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
81
82     # Special fork handling.
83     fork; __fork; vfork;
84
85     # Cancellation points.
86     close; __close; fcntl; __fcntl; read; __read; write; __write; accept;
87     connect; __connect; recv; recvfrom; recvmsg; send; __send; sendmsg; sendto;
88     fsync; lseek; __lseek; msync; nanosleep; open; __open; pause; tcdrain;
89     system; wait; __wait; waitpid;
90
91     # Hidden entry point (through macros).
92     _pthread_cleanup_push; _pthread_cleanup_pop;
93     _pthread_cleanup_push_defer; _pthread_cleanup_pop_restore;
94
95     pthread_kill_other_threads_np;
96
97     # The error functions.
98     __errno_location; __h_errno_location;
99
100     # Functions which previously have been overwritten.
101     sigwait; sigaction; __sigaction; _exit; _Exit; longjmp; siglongjmp;
102     raise;
103   }
104
105   GLIBC_2.1 {
106     pthread_create;
107     pthread_attr_init;
108
109     pthread_attr_getguardsize; pthread_attr_setguardsize;
110     pthread_attr_getstackaddr; pthread_attr_setstackaddr;
111     pthread_attr_getstacksize; pthread_attr_setstacksize;
112
113     pthread_mutexattr_gettype; pthread_mutexattr_settype;
114
115     pthread_rwlock_init; pthread_rwlock_destroy;
116     pthread_rwlock_rdlock; pthread_rwlock_wrlock; pthread_rwlock_unlock;
117     pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock;
118
119     __pthread_rwlock_init; __pthread_rwlock_destroy;
120     __pthread_rwlock_rdlock; __pthread_rwlock_wrlock; __pthread_rwlock_unlock;
121     __pthread_rwlock_tryrdlock; __pthread_rwlock_trywrlock;
122
123     pthread_rwlockattr_init; pthread_rwlockattr_destroy;
124     pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
125     pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
126
127     pthread_getconcurrency; pthread_setconcurrency;
128
129     # Semaphores.
130     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
131
132     __libc_current_sigrtmin; __libc_current_sigrtmax;
133     __libc_allocate_rtsig;
134   }
135
136   GLIBC_2.1.1 {
137     sem_close; sem_open; sem_unlink;
138   }
139
140   GLIBC_2.1.2 {
141     __vfork;
142   }
143
144   GLIBC_2.2 {
145     pthread_mutexattr_getpshared; pthread_mutexattr_setpshared;
146
147     pthread_condattr_getpshared; pthread_condattr_setpshared;
148
149     # New functions from IEEE Std. 1003.1-2001.
150     pthread_mutex_timedlock;
151
152     pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock;
153
154     pthread_attr_getstack; pthread_attr_setstack;
155
156     pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
157     pthread_spin_trylock; pthread_spin_unlock;
158
159     pthread_barrier_init; pthread_barrier_destroy; pthread_barrier_wait;
160     pthread_barrierattr_destroy; pthread_barrierattr_init;
161     pthread_barrierattr_getpshared; pthread_barrierattr_setpshared;
162
163     sem_timedwait;
164
165     pthread_yield;
166
167     pthread_getcpuclockid;
168
169     # Cancellation points.
170     lseek64; open64; __open64; pread; pread64; __pread64; pwrite; pwrite64;
171     __pwrite64;
172
173     # Names used internally.
174     __pthread_rwlock_init; __pthread_rwlock_destroy;
175     __pthread_rwlock_rdlock; __pthread_rwlock_tryrdlock;
176     __pthread_rwlock_wrlock; __pthread_rwlock_trywrlock;
177     __pthread_rwlock_unlock;
178
179     __res_state;
180   }
181
182   GLIBC_2.2.3 {
183     # Extensions.
184     pthread_getattr_np;
185   }
186
187   GLIBC_2.2.6 {
188     # Cancellation wrapper
189     __nanosleep;
190   }
191
192   # XXX Adjust number for final release.
193   GLIBC_2.3.1 {
194     # Proposed API extensions.
195     pthread_tryjoin_np; pthread_timedjoin_np;
196
197     creat; poll; pselect; readv; select; sigpause; sigsuspend; sigwait;
198     sigwaitinfo; waitid; writev;
199   }
200
201   GLIBC_PRIVATE {
202     __pthread_initialize_minimal; __pthread_cleanup_upto;
203     __pthread_clock_gettime; __pthread_clock_settime;
204   }
205 }