]> git.ipfire.org Git - thirdparty/glibc.git/blame - nptl/Versions
nptl: Move pthread_attr_getschedparam implementation into libc
[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 23 GLIBC_2.3.2 {
08192659
RM
24 __register_atfork;
25
bf293afe
UD
26 # Changed pthread_cond_t.
27 pthread_cond_init; pthread_cond_destroy;
28 pthread_cond_wait; pthread_cond_signal;
c503d3dc 29 pthread_cond_broadcast; pthread_cond_timedwait;
bf293afe 30 }
ce7528f6
AZ
31 # C11 thread symbols.
32 GLIBC_2.28 {
33 thrd_current; thrd_equal; thrd_sleep; thrd_yield;
34 }
d4a763f9 35 GLIBC_PRIVATE {
451f001b 36 __libc_alloca_cutoff;
d4a763f9
UD
37 # Internal libc interface to libpthread
38 __libc_dl_error_tsd;
08192659
RM
39 __libc_pthread_init;
40 __libc_current_sigrtmin_private; __libc_current_sigrtmax_private;
41 __libc_allocate_rtsig_private;
d4a763f9 42 }
76a50749
UD
43}
44
45libpthread {
46 GLIBC_2.0 {
17e13474 47 pthread_create; pthread_join;
76a50749
UD
48 pthread_exit; pthread_detach;
49
50 pthread_getschedparam; pthread_setschedparam;
51
0caab663 52 pthread_attr_setschedparam;
76a50749 53 pthread_attr_getschedpolicy; pthread_attr_setschedpolicy;
76a50749
UD
54 pthread_attr_getscope; pthread_attr_setscope;
55
56 pthread_mutex_init; pthread_mutex_destroy;
57 pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
58
59 pthread_mutexattr_init; pthread_mutexattr_destroy;
60
61 pthread_cond_init; pthread_cond_destroy;
62 pthread_cond_wait; pthread_cond_timedwait;
63 pthread_cond_signal; pthread_cond_broadcast;
64
65 pthread_condattr_destroy; pthread_condattr_init;
66
67 pthread_cancel; pthread_testcancel;
68 pthread_setcancelstate; pthread_setcanceltype;
69
70 pthread_sigmask; pthread_kill;
71
72 pthread_key_create; pthread_key_delete;
73 pthread_getspecific; pthread_setspecific;
74
75 pthread_once;
76
77 pthread_atfork;
78
79 flockfile; funlockfile; ftrylockfile;
80
81 # Non-standard POSIX1.x functions.
82 pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
83
84 # Protected names for functions used in other shared objects.
85 __pthread_mutex_init; __pthread_mutex_destroy;
86 __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
87 __pthread_mutexattr_init; __pthread_mutexattr_destroy;
88 __pthread_mutexattr_settype;
89 __pthread_key_create; __pthread_getspecific; __pthread_setspecific;
90 __pthread_once; __pthread_atfork;
91 _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
92
76a50749
UD
93 # Semaphores.
94 sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
95
96 # Special fork handling.
41d6f74e 97 fork; __fork;
76a50749
UD
98
99 # Cancellation points.
100 close; __close; fcntl; __fcntl; read; __read; write; __write; accept;
101 connect; __connect; recv; recvfrom; recvmsg; send; __send; sendmsg; sendto;
102 fsync; lseek; __lseek; msync; nanosleep; open; __open; pause; tcdrain;
103 system; wait; __wait; waitpid;
104
105 # Hidden entry point (through macros).
106 _pthread_cleanup_push; _pthread_cleanup_pop;
107 _pthread_cleanup_push_defer; _pthread_cleanup_pop_restore;
108
109 pthread_kill_other_threads_np;
110
111 # The error functions.
112 __errno_location; __h_errno_location;
113
114 # Functions which previously have been overwritten.
115 sigwait; sigaction; __sigaction; _exit; _Exit; longjmp; siglongjmp;
116 raise;
117 }
118
119 GLIBC_2.1 {
120 pthread_create;
76a50749
UD
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 {
41d6f74e 150 __libpthread_version_placeholder;
76a50749
UD
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
beff1d13
RM
264 GLIBC_2.22 {
265 }
266
ce7528f6
AZ
267 # C11 thread symbols.
268 GLIBC_2.28 {
269 thrd_create; thrd_detach; thrd_exit; thrd_join;
18d59c1b 270 mtx_init; mtx_lock; mtx_timedlock; mtx_trylock; mtx_unlock; mtx_destroy;
918311a3 271 call_once; cnd_broadcast; cnd_destroy; cnd_init; cnd_signal;
78d40132 272 cnd_timedwait; cnd_wait; tss_create; tss_delete; tss_get; tss_set;
ce7528f6
AZ
273 }
274
6615f779 275 GLIBC_2.30 {
afe4de7d 276 sem_clockwait; pthread_cond_clockwait;
e996fa72 277 pthread_rwlock_clockrdlock; pthread_rwlock_clockwrlock;
9d20e22e 278 pthread_mutex_clocklock;
6615f779
MC
279 }
280
76a50749 281 GLIBC_PRIVATE {
5ce98c3f 282 __pthread_initialize_minimal;
76a50749 283 __pthread_clock_gettime; __pthread_clock_settime;
2c1094bd 284 __pthread_unwind; __pthread_get_minstack;
90dd5913 285 __pthread_barrier_init; __pthread_barrier_wait;
e4f639e4 286 __shm_directory;
2827ab99 287 __libpthread_freeres;
76a50749
UD
288 }
289}