xref: /freebsd/lib/libthr/pthread.map (revision 1669d8afc64812c8d2d1d147ae1fd42ff441e1b1)
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_self;
121	pthread_set_name_np;
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_getdetachstate;
232	_pthread_attr_getguardsize;
233	_pthread_attr_getinheritsched;
234	_pthread_attr_getschedparam;
235	_pthread_attr_getschedpolicy;
236	_pthread_attr_getscope;
237	_pthread_attr_getstack;
238	_pthread_attr_getstackaddr;
239	_pthread_attr_getstacksize;
240	_pthread_attr_init;
241	_pthread_attr_setcreatesuspend_np;
242	_pthread_attr_setdetachstate;
243	_pthread_attr_setguardsize;
244	_pthread_attr_setinheritsched;
245	_pthread_attr_setschedparam;
246	_pthread_attr_setschedpolicy;
247	_pthread_attr_setscope;
248	_pthread_attr_setstack;
249	_pthread_attr_setstackaddr;
250	_pthread_attr_setstacksize;
251	_pthread_cancel;
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_getconcurrency;
271	_pthread_getprio;
272	_pthread_getschedparam;
273	_pthread_getspecific;
274	_pthread_join;
275	_pthread_key_create;
276	_pthread_key_delete;
277	_pthread_kill;
278	_pthread_main_np;
279	_pthread_multi_np;
280	_pthread_mutex_destroy;
281	_pthread_mutex_getprioceiling;
282	_pthread_mutex_getspinloops_np;
283	_pthread_mutex_getyieldloops_np;
284	_pthread_mutex_init;
285	_pthread_mutex_init_calloc_cb;
286	_pthread_mutex_isowned_np;
287	_pthread_mutex_lock;
288	_pthread_mutex_setprioceiling;
289	_pthread_mutex_setspinloops_np;
290	_pthread_mutex_setyieldloops_np;
291	_pthread_mutex_timedlock;
292	_pthread_mutex_trylock;
293	_pthread_mutex_unlock;
294	_pthread_mutexattr_destroy;
295	_pthread_mutexattr_getkind_np;
296	_pthread_mutexattr_getprioceiling;
297	_pthread_mutexattr_getprotocol;
298	_pthread_mutexattr_getpshared;
299	_pthread_mutexattr_gettype;
300	_pthread_mutexattr_init;
301	_pthread_mutexattr_setkind_np;
302	_pthread_mutexattr_setprioceiling;
303	_pthread_mutexattr_setprotocol;
304	_pthread_mutexattr_setpshared;
305	_pthread_mutexattr_settype;
306	_pthread_once;
307	_pthread_resume_all_np;
308	_pthread_resume_np;
309	_pthread_rwlock_destroy;
310	_pthread_rwlock_init;
311	_pthread_rwlock_rdlock;
312	_pthread_rwlock_timedrdlock;
313	_pthread_rwlock_timedwrlock;
314	_pthread_rwlock_tryrdlock;
315	_pthread_rwlock_trywrlock;
316	_pthread_rwlock_unlock;
317	_pthread_rwlock_wrlock;
318	_pthread_rwlockattr_destroy;
319	_pthread_rwlockattr_getpshared;
320	_pthread_rwlockattr_init;
321	_pthread_rwlockattr_setpshared;
322	_pthread_self;
323	_pthread_set_name_np;
324	_pthread_setcancelstate;
325	_pthread_setcanceltype;
326	_pthread_setconcurrency;
327	_pthread_setprio;
328	_pthread_setschedparam;
329	_pthread_setspecific;
330	_pthread_sigmask;
331	_pthread_single_np;
332	_pthread_spin_destroy;
333	_pthread_spin_init;
334	_pthread_spin_lock;
335	_pthread_spin_trylock;
336	_pthread_spin_unlock;
337	_pthread_suspend_all_np;
338	_pthread_suspend_np;
339	_pthread_switch_add_np;
340	_pthread_switch_delete_np;
341	_pthread_testcancel;
342	_pthread_timedjoin_np;
343	_pthread_yield;
344	_raise;
345	_sem_destroy;
346	_sem_getvalue;
347	_sem_init;
348	_sem_post;
349	_sem_timedwait;
350	_sem_trywait;
351	_sem_wait;
352	_sigaction;
353	_sigprocmask;
354	_sigsuspend;
355	_sigtimedwait;
356	_sigwait;
357	_sigwaitinfo;
358	_spinlock;
359	_spinlock_debug;
360	_spinunlock;
361
362	/* Debugger needs these. */
363	_libthr_debug;
364	_thread_active_threads;
365	_thread_bp_create;
366	_thread_bp_death;
367	_thread_event_mask;
368	_thread_keytable;
369	_thread_last_event;
370	_thread_list;
371	_thread_max_keys;
372	_thread_off_attr_flags;
373	_thread_off_dtv;
374	_thread_off_event_buf;
375	_thread_off_event_mask;
376	_thread_off_key_allocated;
377	_thread_off_key_destructor;
378	_thread_off_linkmap;
379	_thread_off_next;
380	_thread_off_report_events;
381	_thread_off_state;
382	_thread_off_tcb;
383	_thread_off_tid;
384	_thread_off_tlsindex;
385	_thread_size_key;
386	_thread_state_running;
387	_thread_state_zoombie;
388};
389
390FBSD_1.1 {
391	pthread_mutex_getspinloops_np;
392	pthread_mutex_getyieldloops_np;
393	pthread_mutex_isowned_np;
394	pthread_mutex_setspinloops_np;
395	pthread_mutex_setyieldloops_np;
396};
397