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