blob: 24c154c2c0a67d96194cbbaef1359025406ef3b2 [file] [log] [blame]
sewardj3b13f0e2002-04-25 20:17:29 +00001
2/* ---------------------------------------------------------------------
3 Give a binding for everything the real libpthread.so binds.
4 ------------------------------------------------------------------ */
5
6extern void vgPlain_unimp ( char* );
7#define unimp(str) vgPlain_unimp(str)
8
9//void _IO_flockfile ( void ) { unimp("_IO_flockfile"); }
10void _IO_ftrylockfile ( void ) { unimp("_IO_ftrylockfile"); }
11//void _IO_funlockfile ( void ) { unimp("_IO_funlockfile"); }
12//void __close ( void ) { unimp("__close"); }
13//void __connect ( void ) { unimp("__connect"); }
14//void __errno_location ( void ) { unimp("__errno_location"); }
15//void __fcntl ( void ) { unimp("__fcntl"); }
16void __fork ( void ) { unimp("__fork"); }
17//void __h_errno_location ( void ) { unimp("__h_errno_location"); }
18void __libc_allocate_rtsig ( void ) { unimp("__libc_allocate_rtsig"); }
19void __libc_current_sigrtmax ( void ) { unimp("__libc_current_sigrtmax"); }
20void __libc_current_sigrtmin ( void ) { unimp("__libc_current_sigrtmin"); }
21void __lseek ( void ) { unimp("__lseek"); }
22//void __open ( void ) { unimp("__open"); }
23//void __open64 ( void ) { unimp("__open64"); }
24void __pread64 ( void ) { unimp("__pread64"); }
25void __pthread_atfork ( void ) { unimp("__pthread_atfork"); }
26//void __pthread_getspecific ( void ) { unimp("__pthread_getspecific"); }
27//void __pthread_key_create ( void ) { unimp("__pthread_key_create"); }
28void __pthread_kill_other_threads_np ( void ) { unimp("__pthread_kill_other_threads_np"); }
29//void __pthread_mutex_destroy ( void ) { unimp("__pthread_mutex_destroy"); }
30//void __pthread_mutex_init ( void ) { unimp("__pthread_mutex_init"); }
31//void __pthread_mutex_lock ( void ) { unimp("__pthread_mutex_lock"); }
32void __pthread_mutex_trylock ( void ) { unimp("__pthread_mutex_trylock"); }
33//void __pthread_mutex_unlock ( void ) { unimp("__pthread_mutex_unlock"); }
34//void __pthread_mutexattr_destroy ( void ) { unimp("__pthread_mutexattr_destroy"); }
35//void __pthread_mutexattr_init ( void ) { unimp("__pthread_mutexattr_init"); }
36//void __pthread_mutexattr_settype ( void ) { unimp("__pthread_mutexattr_settype"); }
37//void __pthread_once ( void ) { unimp("__pthread_once"); }
38//void __pthread_setspecific ( void ) { unimp("__pthread_setspecific"); }
39void __pwrite64 ( void ) { unimp("__pwrite64"); }
40//void __read ( void ) { unimp("__read"); }
41//void __res_state ( void ) { unimp("__res_state"); }
42void __send ( void ) { unimp("__send"); }
43//void __sigaction ( void ) { unimp("__sigaction"); }
44void __vfork ( void ) { unimp("__vfork"); }
45void __wait ( void ) { unimp("__wait"); }
46//void __write ( void ) { unimp("__write"); }
47void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
48//void _pthread_cleanup_pop_restore ( void ) { unimp("_pthread_cleanup_pop_restore"); }
49void _pthread_cleanup_push ( void ) { unimp("_pthread_cleanup_push"); }
50//void _pthread_cleanup_push_defer ( void ) { unimp("_pthread_cleanup_push_defer"); }
51//void longjmp ( void ) { unimp("longjmp"); }
52void pthread_atfork ( void ) { unimp("pthread_atfork"); }
53//void pthread_attr_destroy ( void ) { unimp("pthread_attr_destroy"); }
54void pthread_attr_getdetachstate ( void ) { unimp("pthread_attr_getdetachstate"); }
55void pthread_attr_getinheritsched ( void ) { unimp("pthread_attr_getinheritsched"); }
56//void pthread_attr_getschedparam ( void ) { unimp("pthread_attr_getschedparam"); }
57void pthread_attr_getschedpolicy ( void ) { unimp("pthread_attr_getschedpolicy"); }
58void pthread_attr_getscope ( void ) { unimp("pthread_attr_getscope"); }
59
60//void pthread_attr_setdetachstate ( void ) { unimp("pthread_attr_setdetachstate"); }
61//void pthread_attr_setinheritsched ( void ) { unimp("pthread_attr_setinheritsched"); }
62//void pthread_attr_setschedparam ( void ) { unimp("pthread_attr_setschedparam"); }
63void pthread_attr_setschedpolicy ( void ) { unimp("pthread_attr_setschedpolicy"); }
64void pthread_attr_setscope ( void ) { unimp("pthread_attr_setscope"); }
65void pthread_barrier_destroy ( void ) { unimp("pthread_barrier_destroy"); }
66void pthread_barrier_init ( void ) { unimp("pthread_barrier_init"); }
67void pthread_barrier_wait ( void ) { unimp("pthread_barrier_wait"); }
68void pthread_barrierattr_destroy ( void ) { unimp("pthread_barrierattr_destroy"); }
69void pthread_barrierattr_init ( void ) { unimp("pthread_barrierattr_init"); }
70void pthread_barrierattr_setpshared ( void ) { unimp("pthread_barrierattr_setpshared"); }
71//void pthread_cancel ( void ) { unimp("pthread_cancel"); }
72//void pthread_cond_broadcast ( void ) { unimp("pthread_cond_broadcast"); }
73//void pthread_cond_destroy ( void ) { unimp("pthread_cond_destroy"); }
74//void pthread_cond_init ( void ) { unimp("pthread_cond_init"); }
75//void pthread_cond_signal ( void ) { unimp("pthread_cond_signal"); }
76//void pthread_cond_timedwait ( void ) { unimp("pthread_cond_timedwait"); }
77//void pthread_cond_wait ( void ) { unimp("pthread_cond_wait"); }
78//void pthread_condattr_destroy ( void ) { unimp("pthread_condattr_destroy"); }
79void pthread_condattr_getpshared ( void ) { unimp("pthread_condattr_getpshared"); }
80//void pthread_condattr_init ( void ) { unimp("pthread_condattr_init"); }
81void pthread_condattr_setpshared ( void ) { unimp("pthread_condattr_setpshared"); }
82void pthread_detach ( void ) { unimp("pthread_detach"); }
83//void pthread_equal ( void ) { unimp("pthread_equal"); }
84//void pthread_exit ( void ) { unimp("pthread_exit"); }
85void pthread_getattr_np ( void ) { unimp("pthread_getattr_np"); }
86void pthread_getcpuclockid ( void ) { unimp("pthread_getcpuclockid"); }
87//void pthread_getschedparam ( void ) { unimp("pthread_getschedparam"); }
88//void pthread_getspecific ( void ) { unimp("pthread_getspecific"); }
89//void pthread_join ( void ) { unimp("pthread_join"); }
90//void pthread_key_create ( void ) { unimp("pthread_key_create"); }
91//void pthread_key_delete ( void ) { unimp("pthread_key_delete"); }
92void pthread_kill ( void ) { unimp("pthread_kill"); }
93//void pthread_mutex_destroy ( void ) { unimp("pthread_mutex_destroy"); }
94//void pthread_mutex_init ( void ) { unimp("pthread_mutex_init"); }
95//void pthread_mutex_lock ( void ) { unimp("pthread_mutex_lock"); }
96void pthread_mutex_timedlock ( void ) { unimp("pthread_mutex_timedlock"); }
97//void pthread_mutex_trylock ( void ) { unimp("pthread_mutex_trylock"); }
98//void pthread_mutex_unlock ( void ) { unimp("pthread_mutex_unlock"); }
99//void pthread_mutexattr_destroy ( void ) { unimp("pthread_mutexattr_destroy"); }
100//void pthread_mutexattr_init ( void ) { unimp("pthread_mutexattr_init"); }
101//void pthread_once ( void ) { unimp("pthread_once"); }
102void pthread_rwlock_destroy ( void ) { unimp("pthread_rwlock_destroy"); }
103void pthread_rwlock_init ( void ) { unimp("pthread_rwlock_init"); }
104void pthread_rwlock_rdlock ( void ) { unimp("pthread_rwlock_rdlock"); }
105void pthread_rwlock_timedrdlock ( void ) { unimp("pthread_rwlock_timedrdlock"); }
106void pthread_rwlock_timedwrlock ( void ) { unimp("pthread_rwlock_timedwrlock"); }
107void pthread_rwlock_tryrdlock ( void ) { unimp("pthread_rwlock_tryrdlock"); }
108void pthread_rwlock_trywrlock ( void ) { unimp("pthread_rwlock_trywrlock"); }
109void pthread_rwlock_unlock ( void ) { unimp("pthread_rwlock_unlock"); }
110void pthread_rwlock_wrlock ( void ) { unimp("pthread_rwlock_wrlock"); }
111void pthread_rwlockattr_destroy ( void ) { unimp("pthread_rwlockattr_destroy"); }
112void pthread_rwlockattr_getkind_np ( void ) { unimp("pthread_rwlockattr_getkind_np"); }
113void pthread_rwlockattr_getpshared ( void ) { unimp("pthread_rwlockattr_getpshared"); }
114void pthread_rwlockattr_init ( void ) { unimp("pthread_rwlockattr_init"); }
115void pthread_rwlockattr_setkind_np ( void ) { unimp("pthread_rwlockattr_setkind_np"); }
116void pthread_rwlockattr_setpshared ( void ) { unimp("pthread_rwlockattr_setpshared"); }
117//void pthread_self ( void ) { unimp("pthread_self"); }
118void pthread_setcancelstate ( void ) { unimp("pthread_setcancelstate"); }
119//void pthread_setcanceltype ( void ) { unimp("pthread_setcanceltype"); }
120//void pthread_setschedparam ( void ) { unimp("pthread_setschedparam"); }
121//void pthread_setspecific ( void ) { unimp("pthread_setspecific"); }
122void pthread_sigmask ( void ) { unimp("pthread_sigmask"); }
123void pthread_testcancel ( void ) { unimp("pthread_testcancel"); }
124void raise ( void ) { unimp("raise"); }
125void sem_close ( void ) { unimp("sem_close"); }
126void sem_open ( void ) { unimp("sem_open"); }
127void sem_timedwait ( void ) { unimp("sem_timedwait"); }
128void sem_unlink ( void ) { unimp("sem_unlink"); }
129//void sigaction ( void ) { unimp("sigaction"); }
130void siglongjmp ( void ) { unimp("siglongjmp"); }
131void sigwait ( void ) { unimp("sigwait"); }
132
133#if 0
134void pthread_create@@GLIBC_2.1 ( void ) { unimp("pthread_create@@GLIBC_2.1"); }
135void pthread_create@GLIBC_2.0 ( void ) { unimp("pthread_create@GLIBC_2.0"); }
136
137void sem_wait@@GLIBC_2.1 ( void ) { unimp("sem_wait@@GLIBC_2.1"); }
138void sem_wait@GLIBC_2.0 ( void ) { unimp("sem_wait@GLIBC_2.0"); }
139
140void sem_trywait@@GLIBC_2.1 ( void ) { unimp("sem_trywait@@GLIBC_2.1"); }
141void sem_trywait@GLIBC_2.0 ( void ) { unimp("sem_trywait@GLIBC_2.0"); }
142
143void sem_post@@GLIBC_2.1 ( void ) { unimp("sem_post@@GLIBC_2.1"); }
144void sem_post@GLIBC_2.0 ( void ) { unimp("sem_post@GLIBC_2.0"); }
145
146void sem_destroy@@GLIBC_2.1 ( void ) { unimp("sem_destroy@@GLIBC_2.1"); }
147void sem_destroy@GLIBC_2.0 ( void ) { unimp("sem_destroy@GLIBC_2.0"); }
148void sem_getvalue@@GLIBC_2.1 ( void ) { unimp("sem_getvalue@@GLIBC_2.1"); }
149void sem_getvalue@GLIBC_2.0 ( void ) { unimp("sem_getvalue@GLIBC_2.0"); }
150void sem_init@@GLIBC_2.1 ( void ) { unimp("sem_init@@GLIBC_2.1"); }
151void sem_init@GLIBC_2.0 ( void ) { unimp("sem_init@GLIBC_2.0"); }
152
153void pthread_attr_init@@GLIBC_2.1 ( void ) { unimp("pthread_attr_init@@GLIBC_2.1"); }
154void pthread_attr_init@GLIBC_2.0 ( void ) { unimp("pthread_attr_init@GLIBC_2.0"); }
155#endif