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