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;
18 pthread_setcancelstate; pthread_setcanceltype;
26 # Changed pthread_cond_t.
27 pthread_cond_init; pthread_cond_destroy;
28 pthread_cond_wait; pthread_cond_signal;
29 pthread_cond_broadcast; pthread_cond_timedwait;
33 thrd_current; thrd_equal; thrd_sleep; thrd_yield;
37 # Internal libc interface to libpthread
40 __libc_current_sigrtmin_private; __libc_current_sigrtmax_private;
41 __libc_allocate_rtsig_private;
47 pthread_create; pthread_join; pthread_self; pthread_equal;
48 pthread_exit; pthread_detach;
50 pthread_getschedparam; pthread_setschedparam;
52 pthread_attr_init; pthread_attr_destroy;
53 pthread_attr_getdetachstate; pthread_attr_setdetachstate;
54 pthread_attr_getschedparam; pthread_attr_setschedparam;
55 pthread_attr_getschedpolicy; pthread_attr_setschedpolicy;
56 pthread_attr_getinheritsched; pthread_attr_setinheritsched;
57 pthread_attr_getscope; pthread_attr_setscope;
59 pthread_mutex_init; pthread_mutex_destroy;
60 pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
62 pthread_mutexattr_init; pthread_mutexattr_destroy;
64 pthread_cond_init; pthread_cond_destroy;
65 pthread_cond_wait; pthread_cond_timedwait;
66 pthread_cond_signal; pthread_cond_broadcast;
68 pthread_condattr_destroy; pthread_condattr_init;
70 pthread_cancel; pthread_testcancel;
71 pthread_setcancelstate; pthread_setcanceltype;
73 pthread_sigmask; pthread_kill;
75 pthread_key_create; pthread_key_delete;
76 pthread_getspecific; pthread_setspecific;
82 flockfile; funlockfile; ftrylockfile;
84 # Non-standard POSIX1.x functions.
85 pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
87 # Protected names for functions used in other shared objects.
88 __pthread_mutex_init; __pthread_mutex_destroy;
89 __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
90 __pthread_mutexattr_init; __pthread_mutexattr_destroy;
91 __pthread_mutexattr_settype;
92 __pthread_key_create; __pthread_getspecific; __pthread_setspecific;
93 __pthread_once; __pthread_atfork;
94 _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
97 sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
99 # Special fork handling.
102 # Cancellation points.
103 close; __close; fcntl; __fcntl; read; __read; write; __write; accept;
104 connect; __connect; recv; recvfrom; recvmsg; send; __send; sendmsg; sendto;
105 fsync; lseek; __lseek; msync; nanosleep; open; __open; pause; tcdrain;
106 system; wait; __wait; waitpid;
108 # Hidden entry point (through macros).
109 _pthread_cleanup_push; _pthread_cleanup_pop;
110 _pthread_cleanup_push_defer; _pthread_cleanup_pop_restore;
112 pthread_kill_other_threads_np;
114 # The error functions.
115 __errno_location; __h_errno_location;
117 # Functions which previously have been overwritten.
118 sigwait; sigaction; __sigaction; _exit; _Exit; longjmp; siglongjmp;
126 pthread_attr_getguardsize; pthread_attr_setguardsize;
127 pthread_attr_getstackaddr; pthread_attr_setstackaddr;
128 pthread_attr_getstacksize; pthread_attr_setstacksize;
130 pthread_mutexattr_gettype; pthread_mutexattr_settype;
132 pthread_rwlock_init; pthread_rwlock_destroy;
133 pthread_rwlock_rdlock; pthread_rwlock_wrlock; pthread_rwlock_unlock;
134 pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock;
136 pthread_rwlockattr_init; pthread_rwlockattr_destroy;
137 pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
138 pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
140 pthread_getconcurrency; pthread_setconcurrency;
143 sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
145 __libc_current_sigrtmin; __libc_current_sigrtmax;
146 __libc_allocate_rtsig;
150 sem_close; sem_open; sem_unlink;
154 __libpthread_version_placeholder;
158 pthread_mutexattr_getpshared; pthread_mutexattr_setpshared;
160 pthread_condattr_getpshared; pthread_condattr_setpshared;
162 # New functions from IEEE Std. 1003.1-2001.
163 pthread_mutex_timedlock;
165 pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock;
167 pthread_attr_getstack; pthread_attr_setstack;
169 pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
170 pthread_spin_trylock; pthread_spin_unlock;
172 pthread_barrier_init; pthread_barrier_destroy; pthread_barrier_wait;
173 pthread_barrierattr_destroy; pthread_barrierattr_init;
174 pthread_barrierattr_setpshared;
180 pthread_getcpuclockid;
182 # Cancellation points.
183 lseek64; open64; __open64; pread; pread64; __pread64; pwrite; pwrite64;
186 # Names used internally.
187 __pthread_rwlock_init; __pthread_rwlock_destroy;
188 __pthread_rwlock_rdlock; __pthread_rwlock_tryrdlock;
189 __pthread_rwlock_wrlock; __pthread_rwlock_trywrlock;
190 __pthread_rwlock_unlock;
201 # Cancellation wrapper
206 # Changed pthread_cond_t.
207 pthread_cond_init; pthread_cond_destroy;
208 pthread_cond_wait; pthread_cond_timedwait;
209 pthread_cond_signal; pthread_cond_broadcast;
213 # 1003.1-2001 function accidentally left out in 2.2.
214 pthread_barrierattr_getpshared;
217 pthread_condattr_getclock; pthread_condattr_setclock;
219 # Proposed API extensions.
220 pthread_tryjoin_np; pthread_timedjoin_np;
222 # New cancellation cleanup handling.
223 __pthread_register_cancel; __pthread_unregister_cancel;
224 __pthread_register_cancel_defer; __pthread_unregister_cancel_restore;
225 __pthread_unwind_next;
226 __pthread_cleanup_routine;
228 # affinity interfaces without size parameter
229 pthread_getaffinity_np; pthread_setaffinity_np;
230 pthread_attr_getaffinity_np; pthread_attr_setaffinity_np;
234 # New affinity interfaces.
235 pthread_getaffinity_np; pthread_setaffinity_np;
236 pthread_attr_getaffinity_np; pthread_attr_setaffinity_np;
238 pthread_setschedprio;
242 pthread_mutexattr_getrobust_np; pthread_mutexattr_setrobust_np;
243 pthread_mutex_consistent_np;
244 pthread_mutexattr_getprotocol; pthread_mutexattr_setprotocol;
245 pthread_mutexattr_getprioceiling; pthread_mutexattr_setprioceiling;
246 pthread_mutex_getprioceiling; pthread_mutex_setprioceiling;
254 pthread_mutex_consistent; pthread_mutexattr_getrobust;
255 pthread_mutexattr_setrobust;
257 pthread_setname_np; pthread_getname_np;
261 pthread_getattr_default_np;
262 pthread_setattr_default_np;
271 # C11 thread symbols.
273 thrd_create; thrd_detach; thrd_exit; thrd_join;
274 mtx_init; mtx_lock; mtx_timedlock; mtx_trylock; mtx_unlock; mtx_destroy;
275 call_once; cnd_broadcast; cnd_destroy; cnd_init; cnd_signal;
276 cnd_timedwait; cnd_wait; tss_create; tss_delete; tss_get; tss_set;
280 sem_clockwait; pthread_cond_clockwait;
281 pthread_rwlock_clockrdlock; pthread_rwlock_clockwrlock;
282 pthread_mutex_clocklock;
286 __pthread_initialize_minimal;
287 __pthread_clock_gettime; __pthread_clock_settime;
288 __pthread_unwind; __pthread_get_minstack;
289 __pthread_barrier_init; __pthread_barrier_wait;
291 __libpthread_freeres;