3 pthread_attr_destroy; pthread_attr_getdetachstate;
4 pthread_attr_getinheritsched; pthread_attr_getschedparam;
5 pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
6 pthread_attr_setdetachstate; pthread_attr_setinheritsched;
7 pthread_attr_setschedparam; pthread_attr_setschedpolicy;
8 pthread_attr_setscope; pthread_cond_broadcast; pthread_cond_destroy;
9 pthread_cond_init; pthread_cond_signal; pthread_cond_wait;
10 pthread_cond_timedwait;
11 pthread_condattr_destroy; pthread_condattr_init; pthread_equal;
12 pthread_exit; pthread_getschedparam; pthread_mutex_destroy;
13 pthread_mutex_init; pthread_mutex_lock; pthread_mutex_unlock;
14 pthread_self; pthread_setcancelstate; pthread_setcanceltype;
15 pthread_setschedparam;
21 # Changed pthread_cond_t.
22 pthread_cond_init; pthread_cond_destroy;
23 pthread_cond_wait; pthread_cond_signal;
24 pthread_cond_broadcast; pthread_cond_timedwait;
27 # Internal libc interface to libpthread
30 __libc_pthread_init; __libc_current_sigrtmin_private;
31 __libc_current_sigrtmax_private; __libc_allocate_rtsig_private;
33 __libc_creat; __libc_poll; __libc_pselect; __libc_select;
34 __libc_sigpause; __libc_sigsuspend; __libc_sigwait; __libc_sigwaitinfo;
35 __libc_waitid; __libc___xpg_sigpause; __librt_enable_asynccancel;
36 __librt_disable_asynccancel; __librt_multiple_threads;
38 __libc_sigaction; __on_exit;
44 # Hidden entry point (through macros).
45 _pthread_cleanup_pop; _pthread_cleanup_pop_restore; _pthread_cleanup_push;
46 _pthread_cleanup_push_defer;
48 # Overwritten libc functions.
49 accept; close; connect; fcntl; fork; fsync; longjmp; lseek; msync;
50 nanosleep; open; pause; raise; read; recv; recvfrom; recvmsg; send;
51 sendmsg; sendto; sigaction; siglongjmp; system; tcdrain; wait;
53 __close; __connect; __fcntl; __lseek; __open; __read; __send; __wait;
55 _IO_flockfile; _IO_ftrylockfile; _IO_funlockfile;
58 # POSIX.1c extensions to libc.
59 flockfile; funlockfile; ftrylockfile;
61 # Non-standard POSIX1.x functions.
62 pthread_kill_other_threads_np; pthread_mutexattr_getkind_np;
63 pthread_mutexattr_setkind_np;
65 # Real POSIX.1c functions.
66 pthread_atfork; pthread_attr_destroy; pthread_attr_getdetachstate;
67 pthread_attr_getinheritsched; pthread_attr_getschedparam;
68 pthread_attr_getschedpolicy; pthread_attr_getscope; pthread_attr_init;
69 pthread_attr_setdetachstate; pthread_attr_setinheritsched;
70 pthread_attr_setschedparam; pthread_attr_setschedpolicy;
71 pthread_attr_setscope; pthread_cancel; pthread_cond_broadcast;
72 pthread_cond_destroy; pthread_cond_init; pthread_cond_signal;
73 pthread_cond_timedwait; pthread_cond_wait; pthread_condattr_destroy;
74 pthread_condattr_init; pthread_create; pthread_detach; pthread_equal;
75 pthread_exit; pthread_getschedparam; pthread_getspecific; pthread_join;
76 pthread_key_create; pthread_key_delete; pthread_kill;
77 pthread_mutex_destroy; pthread_mutex_init; pthread_mutex_lock;
78 pthread_mutex_trylock; pthread_mutex_unlock; pthread_mutexattr_destroy;
79 pthread_mutexattr_init; pthread_once; pthread_self; pthread_setcancelstate;
80 pthread_setcanceltype; pthread_setschedparam; pthread_setspecific;
81 pthread_sigmask; pthread_testcancel;
83 sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
86 # Protected names for functions used in other shared objects.
87 __pthread_atfork; __pthread_getspecific;
88 __pthread_key_create; __pthread_mutex_destroy; __pthread_mutex_init;
89 __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
90 __pthread_mutexattr_destroy; __pthread_mutexattr_init;
91 __pthread_mutexattr_settype; __pthread_once; __pthread_setspecific;
93 # The error functions.
94 __errno_location; __h_errno_location;
100 # Functions with changed interface.
101 pthread_attr_init; pthread_create;
104 pthread_rwlock_init; pthread_rwlock_destroy; pthread_rwlock_rdlock;
105 pthread_rwlock_tryrdlock; pthread_rwlock_wrlock; pthread_rwlock_trywrlock;
106 pthread_rwlock_unlock; pthread_rwlockattr_init; pthread_rwlockattr_destroy;
107 pthread_rwlockattr_getpshared; pthread_rwlockattr_setpshared;
108 pthread_rwlockattr_getkind_np; pthread_rwlockattr_setkind_np;
110 pthread_attr_getguardsize; pthread_attr_setguardsize;
111 pthread_attr_getstackaddr; pthread_attr_setstackaddr;
112 pthread_attr_getstacksize; pthread_attr_setstacksize;
114 pthread_getconcurrency; pthread_setconcurrency;
116 pthread_mutexattr_gettype; pthread_mutexattr_settype;
118 sem_destroy; sem_getvalue; sem_init; sem_post; sem_trywait; sem_wait;
121 __libc_current_sigrtmin; __libc_current_sigrtmax;
122 __libc_allocate_rtsig;
125 sem_close; sem_open; sem_unlink;
131 # For the cancelation wrappers.
132 pread; __pread64; pread64; pwrite; __pwrite64; pwrite64; lseek64;
137 # Names used internally.
138 __pthread_rwlock_init; __pthread_rwlock_destroy; __pthread_rwlock_rdlock;
139 __pthread_rwlock_tryrdlock; __pthread_rwlock_wrlock;
140 __pthread_rwlock_trywrlock; __pthread_rwlock_unlock;
142 # No really implemented.
143 pthread_condattr_getpshared; pthread_condattr_setpshared;
144 pthread_mutexattr_getpshared; pthread_mutexattr_setpshared;
146 # New functions from IEEE Std. 1003.1-200x.
148 pthread_attr_getstack; pthread_attr_setstack;
149 pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
150 pthread_spin_trylock; pthread_spin_unlock;
151 pthread_getcpuclockid;
152 pthread_barrier_destroy; pthread_barrier_init; pthread_barrier_wait;
153 pthread_barrierattr_destroy; pthread_barrierattr_init;
154 pthread_barrierattr_setpshared;
155 pthread_mutex_timedlock;
156 pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock;
166 # Cancellation wrapper
170 # Changed pthread_cond_t.
171 pthread_cond_init; pthread_cond_destroy;
172 pthread_cond_wait; pthread_cond_timedwait;
173 pthread_cond_signal; pthread_cond_broadcast;
176 # Hey you!! Yes, YOU! Do not add new symbols here!
177 # The linuxthreads libpthread ABI froze at GLIBC_2.3.2 and lacks
178 # numerous additions that NPTL's libpthread has. We can't go adding
179 # any new symbols here unless we support all the new symbols in NPTL,
180 # and we don't want to do that. Linuxthreads is only alive for
181 # compatibility with old binaries using old interfaces.
184 # Internal libc interface to libpthread
185 __pthread_initialize;
186 __pthread_kill_other_threads_np;