xref: /freebsd/lib/libthr/pthread.map (revision 61af1d13936ec56808f62d13dd8698f73b440dc1)
1/*
2 * $FreeBSD$
3 */
4
5/*
6 * Use the same naming scheme as libc.
7 */
8FBSD_1.0 {
9	__error;
10	accept;
11	aio_suspend;
12	close;
13	connect;
14	creat;
15	execve;
16	fcntl;
17	fork;
18	fsync;
19	msync;
20	nanosleep;
21	open;
22	pause;
23	poll;
24	pselect;
25	pthread_atfork;
26	pthread_barrier_destroy;
27	pthread_barrier_init;
28	pthread_barrier_wait;
29	pthread_barrierattr_destroy;
30	pthread_barrierattr_getpshared;
31	pthread_barrierattr_init;
32	pthread_barrierattr_setpshared;
33	pthread_attr_destroy;
34	pthread_attr_get_np;
35	pthread_attr_getdetachstate;
36	pthread_attr_getguardsize;
37	pthread_attr_getinheritsched;
38	pthread_attr_getschedparam;
39	pthread_attr_getschedpolicy;
40	pthread_attr_getscope;
41	pthread_attr_getstack;
42	pthread_attr_getstackaddr;
43	pthread_attr_getstacksize;
44	pthread_attr_init;
45	pthread_attr_setcreatesuspend_np;
46	pthread_attr_setdetachstate;
47	pthread_attr_setguardsize;
48	pthread_attr_setinheritsched;
49	pthread_attr_setschedparam;
50	pthread_attr_setschedpolicy;
51	pthread_attr_setscope;
52	pthread_attr_setstack;
53	pthread_attr_setstackaddr;
54	pthread_attr_setstacksize;
55	pthread_cancel;
56	pthread_cleanup_pop;
57	pthread_cleanup_push;
58	pthread_cond_broadcast;
59	pthread_cond_destroy;
60	pthread_cond_init;
61	pthread_cond_signal;
62	pthread_cond_timedwait;
63	pthread_cond_wait;
64	pthread_condattr_destroy;
65	pthread_condattr_getclock;
66	pthread_condattr_getpshared;
67	pthread_condattr_init;
68	pthread_condattr_setclock;
69	pthread_condattr_setpshared;
70	pthread_create;
71	pthread_detach;
72	pthread_equal;
73	pthread_exit;
74	pthread_getconcurrency;
75	pthread_getprio;
76	pthread_getschedparam;
77	pthread_getspecific;
78	pthread_join;
79	pthread_key_create;
80	pthread_key_delete;
81	pthread_kill;
82	pthread_main_np;
83	pthread_multi_np;
84	pthread_mutex_destroy;
85	pthread_mutex_getprioceiling;
86	pthread_mutex_init;
87	pthread_mutex_lock;
88	pthread_mutex_setprioceiling;
89	pthread_mutex_timedlock;
90	pthread_mutex_trylock;
91	pthread_mutex_unlock;
92	pthread_mutexattr_destroy;
93	pthread_mutexattr_getkind_np;
94	pthread_mutexattr_getprioceiling;
95	pthread_mutexattr_getpshared;
96	pthread_mutexattr_getprotocol;
97	pthread_mutexattr_gettype;
98	pthread_mutexattr_init;
99	pthread_mutexattr_setkind_np;
100	pthread_mutexattr_setprioceiling;
101	pthread_mutexattr_setprotocol;
102	pthread_mutexattr_setpshared;
103	pthread_mutexattr_settype;
104	pthread_once;
105	pthread_resume_all_np;
106	pthread_resume_np;
107	pthread_rwlock_destroy;
108	pthread_rwlock_init;
109	pthread_rwlock_rdlock;
110	pthread_rwlock_timedrdlock;
111	pthread_rwlock_timedwrlock;
112	pthread_rwlock_tryrdlock;
113	pthread_rwlock_trywrlock;
114	pthread_rwlock_unlock;
115	pthread_rwlock_wrlock;
116	pthread_rwlockattr_destroy;
117	pthread_rwlockattr_getpshared;
118	pthread_rwlockattr_init;
119	pthread_rwlockattr_setpshared;
120	pthread_set_name_np;
121	pthread_self;
122	pthread_setcancelstate;
123	pthread_setcanceltype;
124	pthread_setconcurrency;
125	pthread_setprio;
126	pthread_setschedparam;
127	pthread_setspecific;
128	pthread_sigmask;
129	pthread_single_np;
130	pthread_spin_destroy;
131	pthread_spin_init;
132	pthread_spin_lock;
133	pthread_spin_trylock;
134	pthread_spin_unlock;
135	pthread_suspend_all_np;
136	pthread_suspend_np;
137	pthread_switch_add_np;
138	pthread_switch_delete_np;
139	pthread_testcancel;
140	pthread_timedjoin_np;
141	pthread_yield;
142	raise;
143	read;
144	readv;
145	recvfrom;
146	recvmsg;
147	select;
148	sendmsg;
149	sendto;
150	sigaction;
151	sigprocmask;
152	sigsuspend;
153	sigwait;
154	sigwaitinfo;
155	sigtimedwait;
156	sleep;
157	system;
158	tcdrain;
159	usleep;
160	wait;
161	wait3;
162	wait4;
163	waitpid;
164	write;
165	writev;
166};
167
168/*
169 * List the private interfaces reserved for use in FreeBSD libraries.
170 * These are not part of our application ABI.
171 */
172FBSDprivate_1.0 {
173	___creat;
174	___pause;
175	___pselect;
176	___sigwait;
177	___sleep;
178	___system;
179	___tcdrain;
180	___usleep;
181	___wait;
182	___waitpid;
183	__accept;
184	__aio_suspend;
185	__close;
186	__connect;
187	__fcntl;
188	__fsync;
189	__msync;
190	__nanosleep;
191	__open;
192	__openat;
193	__poll;
194	__pthread_cond_timedwait;
195	__pthread_cond_wait;
196	__pthread_cxa_finalize;
197	__pthread_mutex_init;
198	__pthread_mutex_lock;
199	__pthread_mutex_timedlock;
200	__pthread_mutex_trylock;
201	__read;
202	__readv;
203	__recvfrom;
204	__recvmsg;
205	__select;
206	__sendmsg;
207	__sendto;
208	__sigsuspend;
209	__sigtimedwait;
210	__sigwaitinfo;
211	__wait3;
212	__wait4;
213	__write;
214	__writev;
215	_fork;
216	_pthread_atfork;
217	_pthread_barrier_destroy;
218	_pthread_barrier_init;
219	_pthread_barrier_wait;
220	_pthread_barrierattr_destroy;
221	_pthread_barrierattr_getpshared;
222	_pthread_barrierattr_init;
223	_pthread_barrierattr_setpshared;
224	_pthread_attr_destroy;
225	_pthread_attr_get_np;
226	_pthread_attr_getaffinity_np;
227	_pthread_attr_getdetachstate;
228	_pthread_attr_getguardsize;
229	_pthread_attr_getinheritsched;
230	_pthread_attr_getschedparam;
231	_pthread_attr_getschedpolicy;
232	_pthread_attr_getscope;
233	_pthread_attr_getstack;
234	_pthread_attr_getstackaddr;
235	_pthread_attr_getstacksize;
236	_pthread_attr_init;
237	_pthread_attr_setaffinity_np;
238	_pthread_attr_setcreatesuspend_np;
239	_pthread_attr_setdetachstate;
240	_pthread_attr_setguardsize;
241	_pthread_attr_setinheritsched;
242	_pthread_attr_setschedparam;
243	_pthread_attr_setschedpolicy;
244	_pthread_attr_setscope;
245	_pthread_attr_setstack;
246	_pthread_attr_setstackaddr;
247	_pthread_attr_setstacksize;
248	_pthread_cancel;
249	_pthread_cancel_enter;
250	_pthread_cancel_leave;
251	_pthread_cleanup_pop;
252	_pthread_cleanup_push;
253	_pthread_cond_broadcast;
254	_pthread_cond_destroy;
255	_pthread_cond_init;
256	_pthread_cond_signal;
257	_pthread_cond_timedwait;
258	_pthread_cond_wait;
259	_pthread_condattr_destroy;
260	_pthread_condattr_getclock;
261	_pthread_condattr_getpshared;
262	_pthread_condattr_init;
263	_pthread_condattr_setclock;
264	_pthread_condattr_setpshared;
265	_pthread_create;
266	_pthread_detach;
267	_pthread_equal;
268	_pthread_exit;
269	_pthread_getaffinity_np;
270	_pthread_getconcurrency;
271	_pthread_getcpuclockid;
272	_pthread_getprio;
273	_pthread_getschedparam;
274	_pthread_getspecific;
275	_pthread_getthreadid_np;
276	_pthread_join;
277	_pthread_key_create;
278	_pthread_key_delete;
279	_pthread_kill;
280	_pthread_main_np;
281	_pthread_multi_np;
282	_pthread_mutex_destroy;
283	_pthread_mutex_getprioceiling;
284	_pthread_mutex_getspinloops_np;
285	_pthread_mutex_getyieldloops_np;
286	_pthread_mutex_init;
287	_pthread_mutex_init_calloc_cb;
288	_pthread_mutex_isowned_np;
289	_pthread_mutex_lock;
290	_pthread_mutex_setprioceiling;
291	_pthread_mutex_setspinloops_np;
292	_pthread_mutex_setyieldloops_np;
293	_pthread_mutex_timedlock;
294	_pthread_mutex_trylock;
295	_pthread_mutex_unlock;
296	_pthread_mutexattr_destroy;
297	_pthread_mutexattr_getkind_np;
298	_pthread_mutexattr_getprioceiling;
299	_pthread_mutexattr_getprotocol;
300	_pthread_mutexattr_getpshared;
301	_pthread_mutexattr_gettype;
302	_pthread_mutexattr_init;
303	_pthread_mutexattr_setkind_np;
304	_pthread_mutexattr_setprioceiling;
305	_pthread_mutexattr_setprotocol;
306	_pthread_mutexattr_setpshared;
307	_pthread_mutexattr_settype;
308	_pthread_once;
309	_pthread_resume_all_np;
310	_pthread_resume_np;
311	_pthread_rwlock_destroy;
312	_pthread_rwlock_init;
313	_pthread_rwlock_rdlock;
314	_pthread_rwlock_timedrdlock;
315	_pthread_rwlock_timedwrlock;
316	_pthread_rwlock_tryrdlock;
317	_pthread_rwlock_trywrlock;
318	_pthread_rwlock_unlock;
319	_pthread_rwlock_wrlock;
320	_pthread_rwlockattr_destroy;
321	_pthread_rwlockattr_getpshared;
322	_pthread_rwlockattr_init;
323	_pthread_rwlockattr_setpshared;
324	_pthread_self;
325	_pthread_set_name_np;
326	_pthread_setaffinity_np;
327	_pthread_setcancelstate;
328	_pthread_setcanceltype;
329	_pthread_setconcurrency;
330	_pthread_setprio;
331	_pthread_setschedparam;
332	_pthread_setspecific;
333	_pthread_sigmask;
334	_pthread_single_np;
335	_pthread_spin_destroy;
336	_pthread_spin_init;
337	_pthread_spin_lock;
338	_pthread_spin_trylock;
339	_pthread_spin_unlock;
340	_pthread_suspend_all_np;
341	_pthread_suspend_np;
342	_pthread_switch_add_np;
343	_pthread_switch_delete_np;
344	_pthread_testcancel;
345	_pthread_timedjoin_np;
346	_pthread_yield;
347	_raise;
348	_setcontext;
349	_sigaction;
350	_sigprocmask;
351	_sigsuspend;
352	_sigtimedwait;
353	_sigwait;
354	_sigwaitinfo;
355	_spinlock;
356	_spinlock_debug;
357	_spinunlock;
358	_swapcontext;
359
360	/* Debugger needs these. */
361	_libthr_debug;
362	_thread_active_threads;
363	_thread_bp_create;
364	_thread_bp_death;
365	_thread_event_mask;
366	_thread_keytable;
367	_thread_last_event;
368	_thread_list;
369	_thread_max_keys;
370	_thread_off_attr_flags;
371	_thread_off_dtv;
372	_thread_off_event_buf;
373	_thread_off_event_mask;
374	_thread_off_key_allocated;
375	_thread_off_key_destructor;
376	_thread_off_linkmap;
377	_thread_off_next;
378	_thread_off_report_events;
379	_thread_off_state;
380	_thread_off_tcb;
381	_thread_off_tid;
382	_thread_off_tlsindex;
383	_thread_size_key;
384	_thread_state_running;
385	_thread_state_zoombie;
386
387	__pthread_map_stacks_exec;
388};
389
390FBSD_1.1 {
391	__pthread_cleanup_pop_imp;
392	__pthread_cleanup_push_imp;
393	pthread_attr_getaffinity_np;
394	pthread_attr_setaffinity_np;
395	pthread_getaffinity_np;
396	pthread_getcpuclockid;
397	pthread_setaffinity_np;
398	pthread_mutex_getspinloops_np;
399	pthread_mutex_getyieldloops_np;
400	pthread_mutex_isowned_np;
401	pthread_mutex_setspinloops_np;
402	pthread_mutex_setyieldloops_np;
403};
404
405FBSD_1.2 {
406	openat;
407	pthread_getthreadid_np;
408	setcontext;
409	swapcontext;
410};
411