summaryrefslogtreecommitdiff
path: root/libpthread_pic.a
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2002-10-11 23:57:47 +0000
committerNeal H. Walfield <neal@gnu.org>2002-10-11 23:57:47 +0000
commit1f98f3e86e46d339425b50a8e10fdb62b2278ca3 (patch)
tree29a1efe503de2765a96d9b83c1381d93027e23f6 /libpthread_pic.a
parent291996a60567617f17aeb5e96159290b1ba22340 (diff)
Finish import.
Diffstat (limited to 'libpthread_pic.a')
-rw-r--r--libpthread_pic.a20
1 files changed, 20 insertions, 0 deletions
diff --git a/libpthread_pic.a b/libpthread_pic.a
new file mode 100644
index 00000000..5673b4e7
--- /dev/null
+++ b/libpthread_pic.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_pic -lihash_pic)