Avoid "anonymous" code in pthread_spin_lock.
[glibc.git] / nptl / Versions
blob6a103755024b511381e6861d2a3a06e8cb5fcd95
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     # Changed pthread_cond_t.
25     pthread_cond_init; pthread_cond_destroy;
26     pthread_cond_wait; pthread_cond_signal;
27     pthread_cond_broadcast; pthread_cond_timedwait;
28   }
29   GLIBC_PRIVATE {
30     __libc_alloca_cutoff;
31     # Internal libc interface to libpthread
32     __libc_dl_error_tsd;
33   }
36 libpthread {
37   GLIBC_2.0 {
38     pthread_create; pthread_join; pthread_self; pthread_equal;
39     pthread_exit; pthread_detach;
41     pthread_getschedparam; pthread_setschedparam;
43     pthread_attr_init; pthread_attr_destroy;
44     pthread_attr_getdetachstate; pthread_attr_setdetachstate;
45     pthread_attr_getschedparam; pthread_attr_setschedparam;
46     pthread_attr_getschedpolicy; pthread_attr_setschedpolicy;
47     pthread_attr_getinheritsched; pthread_attr_setinheritsched;
48     pthread_attr_getscope; pthread_attr_setscope;
50     pthread_mutex_init; pthread_mutex_destroy;
51     pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
53     pthread_mutexattr_init; pthread_mutexattr_destroy;
55     pthread_cond_init; pthread_cond_destroy;
56     pthread_cond_wait; pthread_cond_timedwait;
57     pthread_cond_signal; pthread_cond_broadcast;
59     pthread_condattr_destroy; pthread_condattr_init;
61     pthread_cancel; pthread_testcancel;
62     pthread_setcancelstate; pthread_setcanceltype;
64     pthread_sigmask; pthread_kill;
66     pthread_key_create; pthread_key_delete;
67     pthread_getspecific; pthread_setspecific;
69     pthread_once;
71     pthread_atfork;
73     flockfile; funlockfile; ftrylockfile;
75     # Non-standard POSIX1.x functions.
76     pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
78     # Protected names for functions used in other shared objects.
79     __pthread_mutex_init; __pthread_mutex_destroy;
80     __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
81     __pthread_mutexattr_init; __pthread_mutexattr_destroy;
82     __pthread_mutexattr_settype;
83     __pthread_key_create; __pthread_getspecific; __pthread_setspecific;
84     __pthread_once; __pthread_atfork;
85     _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
87     # Hidden entry point (through macros).
88     #_pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
89     #_pthread_cleanup_push_defer;
91     # Semaphores.
92     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
94     # Special fork handling.
95     fork; __fork; vfork;
97     # Cancellation points.
98     close; __close; fcntl; __fcntl; read; __read; write; __write; accept;
99     connect; __connect; recv; recvfrom; recvmsg; send; __send; sendmsg; sendto;
100     fsync; lseek; __lseek; msync; nanosleep; open; __open; pause; tcdrain;
101     system; wait; __wait; waitpid;
103     # Hidden entry point (through macros).
104     _pthread_cleanup_push; _pthread_cleanup_pop;
105     _pthread_cleanup_push_defer; _pthread_cleanup_pop_restore;
107     pthread_kill_other_threads_np;
109     # The error functions.
110     __errno_location; __h_errno_location;
112     # Functions which previously have been overwritten.
113     sigwait; sigaction; __sigaction; _exit; _Exit; longjmp; siglongjmp;
114     raise;
115   }
117   GLIBC_2.1 {
118     pthread_create;
119     pthread_attr_init;
121     pthread_attr_getguardsize; pthread_attr_setguardsize;
122     pthread_attr_getstackaddr; pthread_attr_setstackaddr;
123     pthread_attr_getstacksize; pthread_attr_setstacksize;
125     pthread_mutexattr_gettype; pthread_mutexattr_settype;
127     pthread_rwlock_init; pthread_rwlock_destroy;
128     pthread_rwlock_rdlock; pthread_rwlock_wrlock; pthread_rwlock_unlock;
129     pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock;
131     pthread_rwlockattr_init; pthread_rwlockattr_destroy;
132     pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
133     pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
135     pthread_getconcurrency; pthread_setconcurrency;
137     # Semaphores.
138     sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
140     __libc_current_sigrtmin; __libc_current_sigrtmax;
141     __libc_allocate_rtsig;
142   }
144   GLIBC_2.1.1 {
145     sem_close; sem_open; sem_unlink;
146   }
148   GLIBC_2.1.2 {
149     __vfork;
150   }
152   GLIBC_2.2 {
153     pthread_mutexattr_getpshared; pthread_mutexattr_setpshared;
155     pthread_condattr_getpshared; pthread_condattr_setpshared;
157     # New functions from IEEE Std. 1003.1-2001.
158     pthread_mutex_timedlock;
160     pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock;
162     pthread_attr_getstack; pthread_attr_setstack;
164     pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
165     pthread_spin_trylock; pthread_spin_unlock;
167     pthread_barrier_init; pthread_barrier_destroy; pthread_barrier_wait;
168     pthread_barrierattr_destroy; pthread_barrierattr_init;
169     pthread_barrierattr_setpshared;
171     sem_timedwait;
173     pthread_yield;
175     pthread_getcpuclockid;
177     # Cancellation points.
178     lseek64; open64; __open64; pread; pread64; __pread64; pwrite; pwrite64;
179     __pwrite64;
181     # Names used internally.
182     __pthread_rwlock_init; __pthread_rwlock_destroy;
183     __pthread_rwlock_rdlock; __pthread_rwlock_tryrdlock;
184     __pthread_rwlock_wrlock; __pthread_rwlock_trywrlock;
185     __pthread_rwlock_unlock;
187     __res_state;
188   }
190   GLIBC_2.2.3 {
191     # Extensions.
192     pthread_getattr_np;
193   }
195   GLIBC_2.2.6 {
196     # Cancellation wrapper
197     __nanosleep;
198   }
200   GLIBC_2.3.2 {
201     # Changed pthread_cond_t.
202     pthread_cond_init; pthread_cond_destroy;
203     pthread_cond_wait; pthread_cond_timedwait;
204     pthread_cond_signal; pthread_cond_broadcast;
205   }
207   GLIBC_2.3.3 {
208     # 1003.1-2001 function accidentally left out in 2.2.
209     pthread_barrierattr_getpshared;
211     # Unix CS option.
212     pthread_condattr_getclock; pthread_condattr_setclock;
214     # Proposed API extensions.
215     pthread_tryjoin_np; pthread_timedjoin_np;
217     # New cancellation cleanup handling.
218     __pthread_register_cancel; __pthread_unregister_cancel;
219     __pthread_register_cancel_defer; __pthread_unregister_cancel_restore;
220     __pthread_unwind_next;
221     __pthread_cleanup_routine;
223     # affinity interfaces without size parameter
224     pthread_getaffinity_np; pthread_setaffinity_np;
225     pthread_attr_getaffinity_np; pthread_attr_setaffinity_np;
226   }
228   GLIBC_2.3.4 {
229     # New affinity interfaces.
230     pthread_getaffinity_np; pthread_setaffinity_np;
231     pthread_attr_getaffinity_np; pthread_attr_setaffinity_np;
233     pthread_setschedprio;
234   }
236   GLIBC_2.4 {
237     pthread_mutexattr_getrobust_np; pthread_mutexattr_setrobust_np;
238     pthread_mutex_consistent_np;
239     pthread_mutexattr_getprotocol; pthread_mutexattr_setprotocol;
240     pthread_mutexattr_getprioceiling; pthread_mutexattr_setprioceiling;
241     pthread_mutex_getprioceiling; pthread_mutex_setprioceiling;
242   };
244   GLIBC_2.11 {
245     pthread_sigqueue;
246   };
248   GLIBC_2.12 {
249     pthread_mutex_consistent; pthread_mutexattr_getrobust;
250     pthread_mutexattr_setrobust;
252     pthread_setname_np; pthread_getname_np;
253   };
255   GLIBC_PRIVATE {
256     __pthread_initialize_minimal;
257     __pthread_clock_gettime; __pthread_clock_settime;
258     __pthread_unwind; __pthread_get_minstack;
259   }