xref: /freebsd/lib/libthr/pthread.map (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1/*
2 * $FreeBSD$
3 */
4
5/*
6 * Use the same naming scheme as libc.
7 */
8FBSD_1.0 {
9	pthread_atfork;
10	pthread_barrier_destroy;
11	pthread_barrier_init;
12	pthread_barrier_wait;
13	pthread_barrierattr_destroy;
14	pthread_barrierattr_getpshared;
15	pthread_barrierattr_init;
16	pthread_barrierattr_setpshared;
17	pthread_attr_destroy;
18	pthread_attr_get_np;
19	pthread_attr_getdetachstate;
20	pthread_attr_getguardsize;
21	pthread_attr_getinheritsched;
22	pthread_attr_getschedparam;
23	pthread_attr_getschedpolicy;
24	pthread_attr_getscope;
25	pthread_attr_getstack;
26	pthread_attr_getstackaddr;
27	pthread_attr_getstacksize;
28	pthread_attr_init;
29	pthread_attr_setcreatesuspend_np;
30	pthread_attr_setdetachstate;
31	pthread_attr_setguardsize;
32	pthread_attr_setinheritsched;
33	pthread_attr_setschedparam;
34	pthread_attr_setschedpolicy;
35	pthread_attr_setscope;
36	pthread_attr_setstack;
37	pthread_attr_setstackaddr;
38	pthread_attr_setstacksize;
39	pthread_cancel;
40	pthread_cleanup_pop;
41	pthread_cleanup_push;
42	pthread_cond_broadcast;
43	pthread_cond_destroy;
44	pthread_cond_init;
45	pthread_cond_signal;
46	pthread_cond_timedwait;
47	pthread_cond_wait;
48	pthread_condattr_destroy;
49	pthread_condattr_getclock;
50	pthread_condattr_getpshared;
51	pthread_condattr_init;
52	pthread_condattr_setclock;
53	pthread_condattr_setpshared;
54	pthread_create;
55	pthread_detach;
56	pthread_equal;
57	pthread_exit;
58	pthread_getconcurrency;
59	pthread_getprio;
60	pthread_getschedparam;
61	pthread_getspecific;
62	pthread_join;
63	pthread_key_create;
64	pthread_key_delete;
65	pthread_kill;
66	pthread_main_np;
67	pthread_multi_np;
68	pthread_mutex_destroy;
69	pthread_mutex_getprioceiling;
70	pthread_mutex_init;
71	pthread_mutex_lock;
72	pthread_mutex_setprioceiling;
73	pthread_mutex_timedlock;
74	pthread_mutex_trylock;
75	pthread_mutex_unlock;
76	pthread_mutexattr_destroy;
77	pthread_mutexattr_getkind_np;
78	pthread_mutexattr_getprioceiling;
79	pthread_mutexattr_getpshared;
80	pthread_mutexattr_getprotocol;
81	pthread_mutexattr_gettype;
82	pthread_mutexattr_init;
83	pthread_mutexattr_setkind_np;
84	pthread_mutexattr_setprioceiling;
85	pthread_mutexattr_setprotocol;
86	pthread_mutexattr_setpshared;
87	pthread_mutexattr_settype;
88	pthread_once;
89	pthread_resume_all_np;
90	pthread_resume_np;
91	pthread_rwlock_destroy;
92	pthread_rwlock_init;
93	pthread_rwlock_rdlock;
94	pthread_rwlock_timedrdlock;
95	pthread_rwlock_timedwrlock;
96	pthread_rwlock_tryrdlock;
97	pthread_rwlock_trywrlock;
98	pthread_rwlock_unlock;
99	pthread_rwlock_wrlock;
100	pthread_rwlockattr_destroy;
101	pthread_rwlockattr_getpshared;
102	pthread_rwlockattr_init;
103	pthread_rwlockattr_setpshared;
104	pthread_set_name_np;
105	pthread_self;
106	pthread_setcancelstate;
107	pthread_setcanceltype;
108	pthread_setconcurrency;
109	pthread_setprio;
110	pthread_setschedparam;
111	pthread_setspecific;
112	pthread_sigmask;
113	pthread_single_np;
114	pthread_spin_destroy;
115	pthread_spin_init;
116	pthread_spin_lock;
117	pthread_spin_trylock;
118	pthread_spin_unlock;
119	pthread_suspend_all_np;
120	pthread_suspend_np;
121	pthread_switch_add_np;
122	pthread_switch_delete_np;
123	pthread_testcancel;
124	pthread_timedjoin_np;
125	pthread_yield;
126};
127
128/*
129 * List the private interfaces reserved for use in FreeBSD libraries.
130 * These are not part of our application ABI.
131 */
132FBSDprivate_1.0 {
133	__pthread_cond_timedwait;
134	__pthread_cond_wait;
135	__pthread_cxa_finalize;
136	__pthread_mutex_init;
137	__pthread_mutex_lock;
138	__pthread_mutex_timedlock;
139	__pthread_mutex_trylock;
140	__pthread_distribute_static_tls;
141	_pthread_atfork;
142	_pthread_barrier_destroy;
143	_pthread_barrier_init;
144	_pthread_barrier_wait;
145	_pthread_barrierattr_destroy;
146	_pthread_barrierattr_getpshared;
147	_pthread_barrierattr_init;
148	_pthread_barrierattr_setpshared;
149	_pthread_attr_destroy;
150	_pthread_attr_get_np;
151	_pthread_attr_getaffinity_np;
152	_pthread_attr_getdetachstate;
153	_pthread_attr_getguardsize;
154	_pthread_attr_getinheritsched;
155	_pthread_attr_getschedparam;
156	_pthread_attr_getschedpolicy;
157	_pthread_attr_getscope;
158	_pthread_attr_getstack;
159	_pthread_attr_getstackaddr;
160	_pthread_attr_getstacksize;
161	_pthread_attr_init;
162	_pthread_attr_setaffinity_np;
163	_pthread_attr_setcreatesuspend_np;
164	_pthread_attr_setdetachstate;
165	_pthread_attr_setguardsize;
166	_pthread_attr_setinheritsched;
167	_pthread_attr_setschedparam;
168	_pthread_attr_setschedpolicy;
169	_pthread_attr_setscope;
170	_pthread_attr_setstack;
171	_pthread_attr_setstackaddr;
172	_pthread_attr_setstacksize;
173	_pthread_cancel;
174	_pthread_cancel_enter;
175	_pthread_cancel_leave;
176	_pthread_cleanup_pop;
177	_pthread_cleanup_push;
178	_pthread_cond_broadcast;
179	_pthread_cond_destroy;
180	_pthread_cond_init;
181	_pthread_cond_signal;
182	_pthread_cond_timedwait;
183	_pthread_cond_wait;
184	_pthread_condattr_destroy;
185	_pthread_condattr_getclock;
186	_pthread_condattr_getpshared;
187	_pthread_condattr_init;
188	_pthread_condattr_setclock;
189	_pthread_condattr_setpshared;
190	_pthread_create;
191	_pthread_detach;
192	_pthread_equal;
193	_pthread_exit;
194	_pthread_getaffinity_np;
195	_pthread_getconcurrency;
196	_pthread_getcpuclockid;
197	_pthread_getprio;
198	_pthread_getschedparam;
199	_pthread_getspecific;
200	_pthread_getthreadid_np;
201	_pthread_join;
202	_pthread_key_create;
203	_pthread_key_delete;
204	_pthread_kill;
205	_pthread_main_np;
206	_pthread_multi_np;
207	_pthread_mutex_destroy;
208	_pthread_mutex_getprioceiling;
209	_pthread_mutex_getspinloops_np;
210	_pthread_mutex_getyieldloops_np;
211	_pthread_mutex_init;
212	_pthread_mutex_init_calloc_cb;
213	_pthread_mutex_isowned_np;
214	_pthread_mutex_lock;
215	_pthread_mutex_setprioceiling;
216	_pthread_mutex_setspinloops_np;
217	_pthread_mutex_setyieldloops_np;
218	_pthread_mutex_timedlock;
219	_pthread_mutex_trylock;
220	_pthread_mutex_unlock;
221	_pthread_mutexattr_destroy;
222	_pthread_mutexattr_getkind_np;
223	_pthread_mutexattr_getprioceiling;
224	_pthread_mutexattr_getprotocol;
225	_pthread_mutexattr_getpshared;
226	_pthread_mutexattr_gettype;
227	_pthread_mutexattr_init;
228	_pthread_mutexattr_setkind_np;
229	_pthread_mutexattr_setprioceiling;
230	_pthread_mutexattr_setprotocol;
231	_pthread_mutexattr_setpshared;
232	_pthread_mutexattr_settype;
233	_pthread_once;
234	_pthread_resume_all_np;
235	_pthread_resume_np;
236	_pthread_rwlock_destroy;
237	_pthread_rwlock_init;
238	_pthread_rwlock_rdlock;
239	_pthread_rwlock_timedrdlock;
240	_pthread_rwlock_timedwrlock;
241	_pthread_rwlock_tryrdlock;
242	_pthread_rwlock_trywrlock;
243	_pthread_rwlock_unlock;
244	_pthread_rwlock_wrlock;
245	_pthread_rwlockattr_destroy;
246	_pthread_rwlockattr_getpshared;
247	_pthread_rwlockattr_init;
248	_pthread_rwlockattr_setpshared;
249	_pthread_self;
250	_pthread_set_name_np;
251	_pthread_setaffinity_np;
252	_pthread_setcancelstate;
253	_pthread_setcanceltype;
254	_pthread_setconcurrency;
255	_pthread_setprio;
256	_pthread_setschedparam;
257	_pthread_setspecific;
258	_pthread_sigmask;
259	_pthread_single_np;
260	_pthread_spin_destroy;
261	_pthread_spin_init;
262	_pthread_spin_lock;
263	_pthread_spin_trylock;
264	_pthread_spin_unlock;
265	_pthread_suspend_all_np;
266	_pthread_suspend_np;
267	_pthread_switch_add_np;
268	_pthread_switch_delete_np;
269	_pthread_testcancel;
270	_pthread_timedjoin_np;
271	_pthread_yield;
272
273	/* Debugger needs these. */
274	_libthr_debug;
275	_thread_active_threads;
276	_thread_bp_create;
277	_thread_bp_death;
278	_thread_event_mask;
279	_thread_keytable;
280	_thread_last_event;
281	_thread_list;
282	_thread_max_keys;
283	_thread_off_attr_flags;
284	_thread_off_dtv;
285	_thread_off_event_buf;
286	_thread_off_event_mask;
287	_thread_off_key_allocated;
288	_thread_off_key_destructor;
289	_thread_off_linkmap;
290	_thread_off_next;
291	_thread_off_report_events;
292	_thread_off_state;
293	_thread_off_tcb;
294	_thread_off_tid;
295	_thread_off_tlsindex;
296	_thread_size_key;
297	_thread_state_running;
298	_thread_state_zoombie;
299
300	/* ABI bug workaround, indicate that pli->rtli_version is valid */
301	_pli_rtli_version;
302};
303
304FBSD_1.1 {
305	__pthread_cleanup_pop_imp;
306	__pthread_cleanup_push_imp;
307	pthread_attr_getaffinity_np;
308	pthread_attr_setaffinity_np;
309	pthread_getaffinity_np;
310	pthread_getcpuclockid;
311	pthread_setaffinity_np;
312	pthread_mutex_getspinloops_np;
313	pthread_mutex_getyieldloops_np;
314	pthread_mutex_isowned_np;
315	pthread_mutex_setspinloops_np;
316	pthread_mutex_setyieldloops_np;
317};
318
319FBSD_1.2 {
320	pthread_getthreadid_np;
321};
322
323FBSD_1.4 {
324	 pthread_mutex_consistent;
325	 pthread_mutexattr_getrobust;
326	 pthread_mutexattr_setrobust;
327};
328
329FBSD_1.5 {
330	 pthread_get_name_np;
331};
332
333FBSD_1.6 {
334	 pthread_getname_np;
335	 pthread_peekjoin_np;
336	 pthread_setname_np;
337};
338