xref: /freebsd/lib/libthr/pthread.map (revision 63d1fd5970ec814904aa0f4580b10a0d302d08b2)
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_atfork;
141	_pthread_barrier_destroy;
142	_pthread_barrier_init;
143	_pthread_barrier_wait;
144	_pthread_barrierattr_destroy;
145	_pthread_barrierattr_getpshared;
146	_pthread_barrierattr_init;
147	_pthread_barrierattr_setpshared;
148	_pthread_attr_destroy;
149	_pthread_attr_get_np;
150	_pthread_attr_getaffinity_np;
151	_pthread_attr_getdetachstate;
152	_pthread_attr_getguardsize;
153	_pthread_attr_getinheritsched;
154	_pthread_attr_getschedparam;
155	_pthread_attr_getschedpolicy;
156	_pthread_attr_getscope;
157	_pthread_attr_getstack;
158	_pthread_attr_getstackaddr;
159	_pthread_attr_getstacksize;
160	_pthread_attr_init;
161	_pthread_attr_setaffinity_np;
162	_pthread_attr_setcreatesuspend_np;
163	_pthread_attr_setdetachstate;
164	_pthread_attr_setguardsize;
165	_pthread_attr_setinheritsched;
166	_pthread_attr_setschedparam;
167	_pthread_attr_setschedpolicy;
168	_pthread_attr_setscope;
169	_pthread_attr_setstack;
170	_pthread_attr_setstackaddr;
171	_pthread_attr_setstacksize;
172	_pthread_cancel;
173	_pthread_cancel_enter;
174	_pthread_cancel_leave;
175	_pthread_cleanup_pop;
176	_pthread_cleanup_push;
177	_pthread_cond_broadcast;
178	_pthread_cond_destroy;
179	_pthread_cond_init;
180	_pthread_cond_signal;
181	_pthread_cond_timedwait;
182	_pthread_cond_wait;
183	_pthread_condattr_destroy;
184	_pthread_condattr_getclock;
185	_pthread_condattr_getpshared;
186	_pthread_condattr_init;
187	_pthread_condattr_setclock;
188	_pthread_condattr_setpshared;
189	_pthread_create;
190	_pthread_detach;
191	_pthread_equal;
192	_pthread_exit;
193	_pthread_getaffinity_np;
194	_pthread_getconcurrency;
195	_pthread_getcpuclockid;
196	_pthread_getprio;
197	_pthread_getschedparam;
198	_pthread_getspecific;
199	_pthread_getthreadid_np;
200	_pthread_join;
201	_pthread_key_create;
202	_pthread_key_delete;
203	_pthread_kill;
204	_pthread_main_np;
205	_pthread_multi_np;
206	_pthread_mutex_destroy;
207	_pthread_mutex_getprioceiling;
208	_pthread_mutex_getspinloops_np;
209	_pthread_mutex_getyieldloops_np;
210	_pthread_mutex_init;
211	_pthread_mutex_init_calloc_cb;
212	_pthread_mutex_isowned_np;
213	_pthread_mutex_lock;
214	_pthread_mutex_setprioceiling;
215	_pthread_mutex_setspinloops_np;
216	_pthread_mutex_setyieldloops_np;
217	_pthread_mutex_timedlock;
218	_pthread_mutex_trylock;
219	_pthread_mutex_unlock;
220	_pthread_mutexattr_destroy;
221	_pthread_mutexattr_getkind_np;
222	_pthread_mutexattr_getprioceiling;
223	_pthread_mutexattr_getprotocol;
224	_pthread_mutexattr_getpshared;
225	_pthread_mutexattr_gettype;
226	_pthread_mutexattr_init;
227	_pthread_mutexattr_setkind_np;
228	_pthread_mutexattr_setprioceiling;
229	_pthread_mutexattr_setprotocol;
230	_pthread_mutexattr_setpshared;
231	_pthread_mutexattr_settype;
232	_pthread_once;
233	_pthread_resume_all_np;
234	_pthread_resume_np;
235	_pthread_rwlock_destroy;
236	_pthread_rwlock_init;
237	_pthread_rwlock_rdlock;
238	_pthread_rwlock_timedrdlock;
239	_pthread_rwlock_timedwrlock;
240	_pthread_rwlock_tryrdlock;
241	_pthread_rwlock_trywrlock;
242	_pthread_rwlock_unlock;
243	_pthread_rwlock_wrlock;
244	_pthread_rwlockattr_destroy;
245	_pthread_rwlockattr_getpshared;
246	_pthread_rwlockattr_init;
247	_pthread_rwlockattr_setpshared;
248	_pthread_self;
249	_pthread_set_name_np;
250	_pthread_setaffinity_np;
251	_pthread_setcancelstate;
252	_pthread_setcanceltype;
253	_pthread_setconcurrency;
254	_pthread_setprio;
255	_pthread_setschedparam;
256	_pthread_setspecific;
257	_pthread_sigmask;
258	_pthread_single_np;
259	_pthread_spin_destroy;
260	_pthread_spin_init;
261	_pthread_spin_lock;
262	_pthread_spin_trylock;
263	_pthread_spin_unlock;
264	_pthread_suspend_all_np;
265	_pthread_suspend_np;
266	_pthread_switch_add_np;
267	_pthread_switch_delete_np;
268	_pthread_testcancel;
269	_pthread_timedjoin_np;
270	_pthread_yield;
271
272	/* Debugger needs these. */
273	_libthr_debug;
274	_thread_active_threads;
275	_thread_bp_create;
276	_thread_bp_death;
277	_thread_event_mask;
278	_thread_keytable;
279	_thread_last_event;
280	_thread_list;
281	_thread_max_keys;
282	_thread_off_attr_flags;
283	_thread_off_dtv;
284	_thread_off_event_buf;
285	_thread_off_event_mask;
286	_thread_off_key_allocated;
287	_thread_off_key_destructor;
288	_thread_off_linkmap;
289	_thread_off_next;
290	_thread_off_report_events;
291	_thread_off_state;
292	_thread_off_tcb;
293	_thread_off_tid;
294	_thread_off_tlsindex;
295	_thread_size_key;
296	_thread_state_running;
297	_thread_state_zoombie;
298};
299
300FBSD_1.1 {
301	__pthread_cleanup_pop_imp;
302	__pthread_cleanup_push_imp;
303	pthread_attr_getaffinity_np;
304	pthread_attr_setaffinity_np;
305	pthread_getaffinity_np;
306	pthread_getcpuclockid;
307	pthread_setaffinity_np;
308	pthread_mutex_getspinloops_np;
309	pthread_mutex_getyieldloops_np;
310	pthread_mutex_isowned_np;
311	pthread_mutex_setspinloops_np;
312	pthread_mutex_setyieldloops_np;
313};
314
315FBSD_1.2 {
316	pthread_getthreadid_np;
317};
318
319FBSD_1.4 {
320	 pthread_mutex_consistent;
321	 pthread_mutexattr_getrobust;
322	 pthread_mutexattr_setrobust;
323};
324