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