]> git.ipfire.org Git - thirdparty/glibc.git/blob - nptl/Versions
e7f691da7a15e9c337fa469b4b22a75635876283
[thirdparty/glibc.git] / nptl / Versions
1 libc {
2 GLIBC_2.0 {
3 pthread_attr_destroy; pthread_attr_init;
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_cond_timedwait;
13 pthread_equal; pthread_exit;
14 pthread_getschedparam; pthread_setschedparam;
15 pthread_mutex_destroy; pthread_mutex_init;
16 pthread_mutex_lock; pthread_mutex_unlock;
17 pthread_self;
18 pthread_setcancelstate; pthread_setcanceltype;
19 }
20 GLIBC_2.1 {
21 pthread_attr_init;
22 }
23 GLIBC_2.3.2 {
24 __register_atfork;
25
26 # Changed pthread_cond_t.
27 pthread_cond_init; pthread_cond_destroy;
28 pthread_cond_wait; pthread_cond_signal;
29 pthread_cond_broadcast; pthread_cond_timedwait;
30 }
31 # C11 thread symbols.
32 GLIBC_2.28 {
33 thrd_current; thrd_equal; thrd_sleep; thrd_yield;
34 }
35 GLIBC_PRIVATE {
36 __libc_alloca_cutoff;
37 # Internal libc interface to libpthread
38 __libc_dl_error_tsd;
39 __libc_vfork;
40 __libc_pthread_init;
41 __libc_current_sigrtmin_private; __libc_current_sigrtmax_private;
42 __libc_allocate_rtsig_private;
43 }
44 }
45
46 libpthread {
47 GLIBC_2.0 {
48 pthread_create; pthread_join; pthread_self; pthread_equal;
49 pthread_exit; pthread_detach;
50
51 pthread_getschedparam; pthread_setschedparam;
52
53 pthread_attr_init; pthread_attr_destroy;
54 pthread_attr_getdetachstate; pthread_attr_setdetachstate;
55 pthread_attr_getschedparam; pthread_attr_setschedparam;
56 pthread_attr_getschedpolicy; pthread_attr_setschedpolicy;
57 pthread_attr_getinheritsched; pthread_attr_setinheritsched;
58 pthread_attr_getscope; pthread_attr_setscope;
59
60 pthread_mutex_init; pthread_mutex_destroy;
61 pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
62
63 pthread_mutexattr_init; pthread_mutexattr_destroy;
64
65 pthread_cond_init; pthread_cond_destroy;
66 pthread_cond_wait; pthread_cond_timedwait;
67 pthread_cond_signal; pthread_cond_broadcast;
68
69 pthread_condattr_destroy; pthread_condattr_init;
70
71 pthread_cancel; pthread_testcancel;
72 pthread_setcancelstate; pthread_setcanceltype;
73
74 pthread_sigmask; pthread_kill;
75
76 pthread_key_create; pthread_key_delete;
77 pthread_getspecific; pthread_setspecific;
78
79 pthread_once;
80
81 pthread_atfork;
82
83 flockfile; funlockfile; ftrylockfile;
84
85 # Non-standard POSIX1.x functions.
86 pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
87
88 # Protected names for functions used in other shared objects.
89 __pthread_mutex_init; __pthread_mutex_destroy;
90 __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
91 __pthread_mutexattr_init; __pthread_mutexattr_destroy;
92 __pthread_mutexattr_settype;
93 __pthread_key_create; __pthread_getspecific; __pthread_setspecific;
94 __pthread_once; __pthread_atfork;
95 _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
96
97 # Semaphores.
98 sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
99
100 # Special fork handling.
101 fork; __fork; vfork;
102
103 # Cancellation points.
104 close; __close; fcntl; __fcntl; read; __read; write; __write; accept;
105 connect; __connect; recv; recvfrom; recvmsg; send; __send; sendmsg; sendto;
106 fsync; lseek; __lseek; msync; nanosleep; open; __open; pause; tcdrain;
107 system; wait; __wait; waitpid;
108
109 # Hidden entry point (through macros).
110 _pthread_cleanup_push; _pthread_cleanup_pop;
111 _pthread_cleanup_push_defer; _pthread_cleanup_pop_restore;
112
113 pthread_kill_other_threads_np;
114
115 # The error functions.
116 __errno_location; __h_errno_location;
117
118 # Functions which previously have been overwritten.
119 sigwait; sigaction; __sigaction; _exit; _Exit; longjmp; siglongjmp;
120 raise;
121 }
122
123 GLIBC_2.1 {
124 pthread_create;
125 pthread_attr_init;
126
127 pthread_attr_getguardsize; pthread_attr_setguardsize;
128 pthread_attr_getstackaddr; pthread_attr_setstackaddr;
129 pthread_attr_getstacksize; pthread_attr_setstacksize;
130
131 pthread_mutexattr_gettype; pthread_mutexattr_settype;
132
133 pthread_rwlock_init; pthread_rwlock_destroy;
134 pthread_rwlock_rdlock; pthread_rwlock_wrlock; pthread_rwlock_unlock;
135 pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock;
136
137 pthread_rwlockattr_init; pthread_rwlockattr_destroy;
138 pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
139 pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
140
141 pthread_getconcurrency; pthread_setconcurrency;
142
143 # Semaphores.
144 sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
145
146 __libc_current_sigrtmin; __libc_current_sigrtmax;
147 __libc_allocate_rtsig;
148 }
149
150 GLIBC_2.1.1 {
151 sem_close; sem_open; sem_unlink;
152 }
153
154 GLIBC_2.1.2 {
155 __vfork;
156 }
157
158 GLIBC_2.2 {
159 pthread_mutexattr_getpshared; pthread_mutexattr_setpshared;
160
161 pthread_condattr_getpshared; pthread_condattr_setpshared;
162
163 # New functions from IEEE Std. 1003.1-2001.
164 pthread_mutex_timedlock;
165
166 pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock;
167
168 pthread_attr_getstack; pthread_attr_setstack;
169
170 pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
171 pthread_spin_trylock; pthread_spin_unlock;
172
173 pthread_barrier_init; pthread_barrier_destroy; pthread_barrier_wait;
174 pthread_barrierattr_destroy; pthread_barrierattr_init;
175 pthread_barrierattr_setpshared;
176
177 sem_timedwait;
178
179 pthread_yield;
180
181 pthread_getcpuclockid;
182
183 # Cancellation points.
184 lseek64; open64; __open64; pread; pread64; __pread64; pwrite; pwrite64;
185 __pwrite64;
186
187 # Names used internally.
188 __pthread_rwlock_init; __pthread_rwlock_destroy;
189 __pthread_rwlock_rdlock; __pthread_rwlock_tryrdlock;
190 __pthread_rwlock_wrlock; __pthread_rwlock_trywrlock;
191 __pthread_rwlock_unlock;
192
193 __res_state;
194 }
195
196 GLIBC_2.2.3 {
197 # Extensions.
198 pthread_getattr_np;
199 }
200
201 GLIBC_2.2.6 {
202 # Cancellation wrapper
203 __nanosleep;
204 }
205
206 GLIBC_2.3.2 {
207 # Changed pthread_cond_t.
208 pthread_cond_init; pthread_cond_destroy;
209 pthread_cond_wait; pthread_cond_timedwait;
210 pthread_cond_signal; pthread_cond_broadcast;
211 }
212
213 GLIBC_2.3.3 {
214 # 1003.1-2001 function accidentally left out in 2.2.
215 pthread_barrierattr_getpshared;
216
217 # Unix CS option.
218 pthread_condattr_getclock; pthread_condattr_setclock;
219
220 # Proposed API extensions.
221 pthread_tryjoin_np; pthread_timedjoin_np;
222
223 # New cancellation cleanup handling.
224 __pthread_register_cancel; __pthread_unregister_cancel;
225 __pthread_register_cancel_defer; __pthread_unregister_cancel_restore;
226 __pthread_unwind_next;
227 __pthread_cleanup_routine;
228
229 # affinity interfaces without size parameter
230 pthread_getaffinity_np; pthread_setaffinity_np;
231 pthread_attr_getaffinity_np; pthread_attr_setaffinity_np;
232 }
233
234 GLIBC_2.3.4 {
235 # New affinity interfaces.
236 pthread_getaffinity_np; pthread_setaffinity_np;
237 pthread_attr_getaffinity_np; pthread_attr_setaffinity_np;
238
239 pthread_setschedprio;
240 }
241
242 GLIBC_2.4 {
243 pthread_mutexattr_getrobust_np; pthread_mutexattr_setrobust_np;
244 pthread_mutex_consistent_np;
245 pthread_mutexattr_getprotocol; pthread_mutexattr_setprotocol;
246 pthread_mutexattr_getprioceiling; pthread_mutexattr_setprioceiling;
247 pthread_mutex_getprioceiling; pthread_mutex_setprioceiling;
248 };
249
250 GLIBC_2.11 {
251 pthread_sigqueue;
252 };
253
254 GLIBC_2.12 {
255 pthread_mutex_consistent; pthread_mutexattr_getrobust;
256 pthread_mutexattr_setrobust;
257
258 pthread_setname_np; pthread_getname_np;
259 };
260
261 GLIBC_2.18 {
262 pthread_getattr_default_np;
263 pthread_setattr_default_np;
264 }
265
266 GLIBC_2.20 {
267 }
268
269 GLIBC_2.22 {
270 }
271
272 # C11 thread symbols.
273 GLIBC_2.28 {
274 thrd_create; thrd_detach; thrd_exit; thrd_join;
275 mtx_init; mtx_lock; mtx_timedlock; mtx_trylock; mtx_unlock; mtx_destroy;
276 call_once; cnd_broadcast; cnd_destroy; cnd_init; cnd_signal;
277 cnd_timedwait; cnd_wait; tss_create; tss_delete; tss_get; tss_set;
278 }
279
280 GLIBC_PRIVATE {
281 __pthread_initialize_minimal;
282 __pthread_clock_gettime; __pthread_clock_settime;
283 __pthread_unwind; __pthread_get_minstack;
284 __pthread_barrier_init; __pthread_barrier_wait;
285 __shm_directory;
286 __libpthread_freeres;
287 }
288 }