summaryrefslogtreecommitdiff
path: root/libpthread/libpthread.a
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/libpthread.a')
-rw-r--r--libpthread/libpthread.a20
1 files changed, 20 insertions, 0 deletions
diff --git a/libpthread/libpthread.a b/libpthread/libpthread.a
new file mode 100644
index 00000000..d0e689e9
--- /dev/null
+++ b/libpthread/libpthread.a
@@ -0,0 +1,20 @@
+/* pthread initializer is weak in glibc. It must be included if glibc
+ is to start threading. */
+EXTERN(_cthread_init_routine)
+
+/* Weak references in glibc that must be filled if glibc is to be
+ thread safe. */
+EXTERN(cthread_detach)
+EXTERN(cthread_fork)
+EXTERN(cthread_keycreate)
+EXTERN(cthread_getspecific)
+EXTERN(__libc_getspecific)
+EXTERN(cthread_setspecific)
+EXTERN(__mutex_lock_solid)
+EXTERN(__mutex_unlock_solid)
+/* For libio stream locking. */
+EXTERN(_cthreads_flockfile)
+EXTERN(_cthreads_funlockfile)
+EXTERN(_cthreads_ftrylockfile)
+
+GROUP(-lpthread2 -lihash)