xref: /freebsd/lib/libthr/pthread.map (revision 38f0b757fd84d17d0fc24739a7cda160c4516d81)
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	__accept4;
185	__aio_suspend;
186	__close;
187	__connect;
188	__fcntl;
189	__fsync;
190	__msync;
191	__nanosleep;
192	__open;
193	__openat;
194	__poll;
195	__pthread_cond_timedwait;
196	__pthread_cond_wait;
197	__pthread_cxa_finalize;
198	__pthread_mutex_init;
199	__pthread_mutex_lock;
200	__pthread_mutex_timedlock;
201	__pthread_mutex_trylock;
202	__read;
203	__readv;
204	__recvfrom;
205	__recvmsg;
206	__select;
207	__sendmsg;
208	__sendto;
209	__sigsuspend;
210	__sigtimedwait;
211	__sigwaitinfo;
212	__wait3;
213	__wait4;
214	__write;
215	__writev;
216	_fork;
217	_pthread_atfork;
218	_pthread_barrier_destroy;
219	_pthread_barrier_init;
220	_pthread_barrier_wait;
221	_pthread_barrierattr_destroy;
222	_pthread_barrierattr_getpshared;
223	_pthread_barrierattr_init;
224	_pthread_barrierattr_setpshared;
225	_pthread_attr_destroy;
226	_pthread_attr_get_np;
227	_pthread_attr_getaffinity_np;
228	_pthread_attr_getdetachstate;
229	_pthread_attr_getguardsize;
230	_pthread_attr_getinheritsched;
231	_pthread_attr_getschedparam;
232	_pthread_attr_getschedpolicy;
233	_pthread_attr_getscope;
234	_pthread_attr_getstack;
235	_pthread_attr_getstackaddr;
236	_pthread_attr_getstacksize;
237	_pthread_attr_init;
238	_pthread_attr_setaffinity_np;
239	_pthread_attr_setcreatesuspend_np;
240	_pthread_attr_setdetachstate;
241	_pthread_attr_setguardsize;
242	_pthread_attr_setinheritsched;
243	_pthread_attr_setschedparam;
244	_pthread_attr_setschedpolicy;
245	_pthread_attr_setscope;
246	_pthread_attr_setstack;
247	_pthread_attr_setstackaddr;
248	_pthread_attr_setstacksize;
249	_pthread_cancel;
250	_pthread_cancel_enter;
251	_pthread_cancel_leave;
252	_pthread_cleanup_pop;
253	_pthread_cleanup_push;
254	_pthread_cond_broadcast;
255	_pthread_cond_destroy;
256	_pthread_cond_init;
257	_pthread_cond_signal;
258	_pthread_cond_timedwait;
259	_pthread_cond_wait;
260	_pthread_condattr_destroy;
261	_pthread_condattr_getclock;
262	_pthread_condattr_getpshared;
263	_pthread_condattr_init;
264	_pthread_condattr_setclock;
265	_pthread_condattr_setpshared;
266	_pthread_create;
267	_pthread_detach;
268	_pthread_equal;
269	_pthread_exit;
270	_pthread_getaffinity_np;
271	_pthread_getconcurrency;
272	_pthread_getcpuclockid;
273	_pthread_getprio;
274	_pthread_getschedparam;
275	_pthread_getspecific;
276	_pthread_getthreadid_np;
277	_pthread_join;
278	_pthread_key_create;
279	_pthread_key_delete;
280	_pthread_kill;
281	_pthread_main_np;
282	_pthread_multi_np;
283	_pthread_mutex_destroy;
284	_pthread_mutex_getprioceiling;
285	_pthread_mutex_getspinloops_np;
286	_pthread_mutex_getyieldloops_np;
287	_pthread_mutex_init;
288	_pthread_mutex_init_calloc_cb;
289	_pthread_mutex_isowned_np;
290	_pthread_mutex_lock;
291	_pthread_mutex_setprioceiling;
292	_pthread_mutex_setspinloops_np;
293	_pthread_mutex_setyieldloops_np;
294	_pthread_mutex_timedlock;
295	_pthread_mutex_trylock;
296	_pthread_mutex_unlock;
297	_pthread_mutexattr_destroy;
298	_pthread_mutexattr_getkind_np;
299	_pthread_mutexattr_getprioceiling;
300	_pthread_mutexattr_getprotocol;
301	_pthread_mutexattr_getpshared;
302	_pthread_mutexattr_gettype;
303	_pthread_mutexattr_init;
304	_pthread_mutexattr_setkind_np;
305	_pthread_mutexattr_setprioceiling;
306	_pthread_mutexattr_setprotocol;
307	_pthread_mutexattr_setpshared;
308	_pthread_mutexattr_settype;
309	_pthread_once;
310	_pthread_resume_all_np;
311	_pthread_resume_np;
312	_pthread_rwlock_destroy;
313	_pthread_rwlock_init;
314	_pthread_rwlock_rdlock;
315	_pthread_rwlock_timedrdlock;
316	_pthread_rwlock_timedwrlock;
317	_pthread_rwlock_tryrdlock;
318	_pthread_rwlock_trywrlock;
319	_pthread_rwlock_unlock;
320	_pthread_rwlock_wrlock;
321	_pthread_rwlockattr_destroy;
322	_pthread_rwlockattr_getpshared;
323	_pthread_rwlockattr_init;
324	_pthread_rwlockattr_setpshared;
325	_pthread_self;
326	_pthread_set_name_np;
327	_pthread_setaffinity_np;
328	_pthread_setcancelstate;
329	_pthread_setcanceltype;
330	_pthread_setconcurrency;
331	_pthread_setprio;
332	_pthread_setschedparam;
333	_pthread_setspecific;
334	_pthread_sigmask;
335	_pthread_single_np;
336	_pthread_spin_destroy;
337	_pthread_spin_init;
338	_pthread_spin_lock;
339	_pthread_spin_trylock;
340	_pthread_spin_unlock;
341	_pthread_suspend_all_np;
342	_pthread_suspend_np;
343	_pthread_switch_add_np;
344	_pthread_switch_delete_np;
345	_pthread_testcancel;
346	_pthread_timedjoin_np;
347	_pthread_yield;
348	_raise;
349	_setcontext;
350	_sigaction;
351	_sigprocmask;
352	_sigsuspend;
353	_sigtimedwait;
354	_sigwait;
355	_sigwaitinfo;
356	_spinlock;
357	_spinlock_debug;
358	_spinunlock;
359	_swapcontext;
360
361	/* Debugger needs these. */
362	_libthr_debug;
363	_thread_active_threads;
364	_thread_bp_create;
365	_thread_bp_death;
366	_thread_event_mask;
367	_thread_keytable;
368	_thread_last_event;
369	_thread_list;
370	_thread_max_keys;
371	_thread_off_attr_flags;
372	_thread_off_dtv;
373	_thread_off_event_buf;
374	_thread_off_event_mask;
375	_thread_off_key_allocated;
376	_thread_off_key_destructor;
377	_thread_off_linkmap;
378	_thread_off_next;
379	_thread_off_report_events;
380	_thread_off_state;
381	_thread_off_tcb;
382	_thread_off_tid;
383	_thread_off_tlsindex;
384	_thread_size_key;
385	_thread_state_running;
386	_thread_state_zoombie;
387
388	__pthread_map_stacks_exec;
389};
390
391FBSD_1.1 {
392	__pthread_cleanup_pop_imp;
393	__pthread_cleanup_push_imp;
394	pthread_attr_getaffinity_np;
395	pthread_attr_setaffinity_np;
396	pthread_getaffinity_np;
397	pthread_getcpuclockid;
398	pthread_setaffinity_np;
399	pthread_mutex_getspinloops_np;
400	pthread_mutex_getyieldloops_np;
401	pthread_mutex_isowned_np;
402	pthread_mutex_setspinloops_np;
403	pthread_mutex_setyieldloops_np;
404};
405
406FBSD_1.2 {
407	openat;
408	pthread_getthreadid_np;
409	setcontext;
410	swapcontext;
411};
412
413FBSD_1.3 {
414	accept4;
415};
416