xref: /freebsd/lib/libthr/pthread.map (revision db612abe8df3355d1eb23bb3b50fdd97bc21e979)
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	sem_destroy;
149	sem_getvalue;
150	sem_init;
151	sem_post;
152	sem_timedwait;
153	sem_trywait;
154	sem_wait;
155	sendmsg;
156	sendto;
157	sigaction;
158	sigprocmask;
159	sigsuspend;
160	sigwait;
161	sigwaitinfo;
162	sigtimedwait;
163	sleep;
164	system;
165	tcdrain;
166	usleep;
167	wait;
168	wait3;
169	wait4;
170	waitpid;
171	write;
172	writev;
173};
174
175/*
176 * List the private interfaces reserved for use in FreeBSD libraries.
177 * These are not part of our application ABI.
178 */
179FBSDprivate_1.0 {
180	___creat;
181	___pause;
182	___pselect;
183	___sleep;
184	___system;
185	___tcdrain;
186	___usleep;
187	___wait;
188	___waitpid;
189	__accept;
190	__aio_suspend;
191	__close;
192	__connect;
193	__fcntl;
194	__fsync;
195	__msync;
196	__nanosleep;
197	__open;
198	__poll;
199	__pthread_cond_timedwait;
200	__pthread_cond_wait;
201	__pthread_mutex_init;
202	__pthread_mutex_lock;
203	__pthread_mutex_timedlock;
204	__pthread_mutex_trylock;
205	__read;
206	__readv;
207	__recvfrom;
208	__recvmsg;
209	__select;
210	__sendmsg;
211	__sendto;
212	__sigsuspend;
213	__sigtimedwait;
214	__sigwait;
215	__sigwaitinfo;
216	__wait3;
217	__wait4;
218	__write;
219	__writev;
220	_fork;
221	_pthread_atfork;
222	_pthread_barrier_destroy;
223	_pthread_barrier_init;
224	_pthread_barrier_wait;
225	_pthread_barrierattr_destroy;
226	_pthread_barrierattr_getpshared;
227	_pthread_barrierattr_init;
228	_pthread_barrierattr_setpshared;
229	_pthread_attr_destroy;
230	_pthread_attr_get_np;
231	_pthread_attr_getaffinity_np;
232	_pthread_attr_getdetachstate;
233	_pthread_attr_getguardsize;
234	_pthread_attr_getinheritsched;
235	_pthread_attr_getschedparam;
236	_pthread_attr_getschedpolicy;
237	_pthread_attr_getscope;
238	_pthread_attr_getstack;
239	_pthread_attr_getstackaddr;
240	_pthread_attr_getstacksize;
241	_pthread_attr_init;
242	_pthread_attr_setaffinity_np;
243	_pthread_attr_setcreatesuspend_np;
244	_pthread_attr_setdetachstate;
245	_pthread_attr_setguardsize;
246	_pthread_attr_setinheritsched;
247	_pthread_attr_setschedparam;
248	_pthread_attr_setschedpolicy;
249	_pthread_attr_setscope;
250	_pthread_attr_setstack;
251	_pthread_attr_setstackaddr;
252	_pthread_attr_setstacksize;
253	_pthread_cancel;
254	_pthread_cleanup_pop;
255	_pthread_cleanup_push;
256	_pthread_cond_broadcast;
257	_pthread_cond_destroy;
258	_pthread_cond_init;
259	_pthread_cond_signal;
260	_pthread_cond_timedwait;
261	_pthread_cond_wait;
262	_pthread_condattr_destroy;
263	_pthread_condattr_getclock;
264	_pthread_condattr_getpshared;
265	_pthread_condattr_init;
266	_pthread_condattr_setclock;
267	_pthread_condattr_setpshared;
268	_pthread_create;
269	_pthread_detach;
270	_pthread_equal;
271	_pthread_exit;
272	_pthread_getaffinity_np;
273	_pthread_getconcurrency;
274	_pthread_getcpuclockid;
275	_pthread_getprio;
276	_pthread_getschedparam;
277	_pthread_getspecific;
278	_pthread_join;
279	_pthread_key_create;
280	_pthread_key_delete;
281	_pthread_kill;
282	_pthread_main_np;
283	_pthread_multi_np;
284	_pthread_mutex_destroy;
285	_pthread_mutex_getprioceiling;
286	_pthread_mutex_getspinloops_np;
287	_pthread_mutex_getyieldloops_np;
288	_pthread_mutex_init;
289	_pthread_mutex_init_calloc_cb;
290	_pthread_mutex_isowned_np;
291	_pthread_mutex_lock;
292	_pthread_mutex_setprioceiling;
293	_pthread_mutex_setspinloops_np;
294	_pthread_mutex_setyieldloops_np;
295	_pthread_mutex_timedlock;
296	_pthread_mutex_trylock;
297	_pthread_mutex_unlock;
298	_pthread_mutexattr_destroy;
299	_pthread_mutexattr_getkind_np;
300	_pthread_mutexattr_getprioceiling;
301	_pthread_mutexattr_getprotocol;
302	_pthread_mutexattr_getpshared;
303	_pthread_mutexattr_gettype;
304	_pthread_mutexattr_init;
305	_pthread_mutexattr_setkind_np;
306	_pthread_mutexattr_setprioceiling;
307	_pthread_mutexattr_setprotocol;
308	_pthread_mutexattr_setpshared;
309	_pthread_mutexattr_settype;
310	_pthread_once;
311	_pthread_resume_all_np;
312	_pthread_resume_np;
313	_pthread_rwlock_destroy;
314	_pthread_rwlock_init;
315	_pthread_rwlock_rdlock;
316	_pthread_rwlock_timedrdlock;
317	_pthread_rwlock_timedwrlock;
318	_pthread_rwlock_tryrdlock;
319	_pthread_rwlock_trywrlock;
320	_pthread_rwlock_unlock;
321	_pthread_rwlock_wrlock;
322	_pthread_rwlockattr_destroy;
323	_pthread_rwlockattr_getpshared;
324	_pthread_rwlockattr_init;
325	_pthread_rwlockattr_setpshared;
326	_pthread_self;
327	_pthread_set_name_np;
328	_pthread_setaffinity_np;
329	_pthread_setcancelstate;
330	_pthread_setcanceltype;
331	_pthread_setconcurrency;
332	_pthread_setprio;
333	_pthread_setschedparam;
334	_pthread_setspecific;
335	_pthread_sigmask;
336	_pthread_single_np;
337	_pthread_spin_destroy;
338	_pthread_spin_init;
339	_pthread_spin_lock;
340	_pthread_spin_trylock;
341	_pthread_spin_unlock;
342	_pthread_suspend_all_np;
343	_pthread_suspend_np;
344	_pthread_switch_add_np;
345	_pthread_switch_delete_np;
346	_pthread_testcancel;
347	_pthread_timedjoin_np;
348	_pthread_yield;
349	_raise;
350	_sem_destroy;
351	_sem_getvalue;
352	_sem_init;
353	_sem_post;
354	_sem_timedwait;
355	_sem_trywait;
356	_sem_wait;
357	_sigaction;
358	_sigprocmask;
359	_sigsuspend;
360	_sigtimedwait;
361	_sigwait;
362	_sigwaitinfo;
363	_spinlock;
364	_spinlock_debug;
365	_spinunlock;
366
367	/* Debugger needs these. */
368	_libthr_debug;
369	_thread_active_threads;
370	_thread_bp_create;
371	_thread_bp_death;
372	_thread_event_mask;
373	_thread_keytable;
374	_thread_last_event;
375	_thread_list;
376	_thread_max_keys;
377	_thread_off_attr_flags;
378	_thread_off_dtv;
379	_thread_off_event_buf;
380	_thread_off_event_mask;
381	_thread_off_key_allocated;
382	_thread_off_key_destructor;
383	_thread_off_linkmap;
384	_thread_off_next;
385	_thread_off_report_events;
386	_thread_off_state;
387	_thread_off_tcb;
388	_thread_off_tid;
389	_thread_off_tlsindex;
390	_thread_size_key;
391	_thread_state_running;
392	_thread_state_zoombie;
393};
394
395FBSD_1.1 {
396	pthread_attr_getaffinity_np;
397	pthread_attr_setaffinity_np;
398	pthread_getaffinity_np;
399	pthread_getcpuclockid;
400	pthread_setaffinity_np;
401	pthread_mutex_getspinloops_np;
402	pthread_mutex_getyieldloops_np;
403	pthread_mutex_isowned_np;
404	pthread_mutex_setspinloops_np;
405	pthread_mutex_setyieldloops_np;
406};
407