aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/Banner1
-rw-r--r--linuxthreads/ChangeLog271
-rw-r--r--linuxthreads/Changes73
-rw-r--r--linuxthreads/Examples/Makefile15
-rw-r--r--linuxthreads/Examples/ex1.c36
-rw-r--r--linuxthreads/Examples/ex2.c116
-rw-r--r--linuxthreads/Examples/ex3.c144
-rw-r--r--linuxthreads/Examples/ex4.c107
-rw-r--r--linuxthreads/Examples/ex5.c102
-rw-r--r--linuxthreads/FAQ.html986
-rw-r--r--linuxthreads/LICENSE501
-rw-r--r--linuxthreads/Makefile44
-rw-r--r--linuxthreads/README163
-rw-r--r--linuxthreads/README.Xfree3.2352
-rw-r--r--linuxthreads/attr.c117
-rw-r--r--linuxthreads/cancel.c131
-rw-r--r--linuxthreads/condvar.c207
-rwxr-xr-xlinuxthreads/configure5
-rw-r--r--linuxthreads/errno.c32
-rw-r--r--linuxthreads/internals.h280
-rw-r--r--linuxthreads/join.c145
-rw-r--r--linuxthreads/libpthread.map62
-rw-r--r--linuxthreads/lockfile.c87
-rw-r--r--linuxthreads/man/Makefile31
-rw-r--r--linuxthreads/man/pthread_atfork.man58
-rw-r--r--linuxthreads/man/pthread_attr_init.man221
-rw-r--r--linuxthreads/man/pthread_cancel.man155
-rw-r--r--linuxthreads/man/pthread_cleanup_push.man194
-rw-r--r--linuxthreads/man/pthread_cond_init.man235
-rw-r--r--linuxthreads/man/pthread_condattr_init.man39
-rw-r--r--linuxthreads/man/pthread_create.man46
-rw-r--r--linuxthreads/man/pthread_detach.man44
-rw-r--r--linuxthreads/man/pthread_equal.man23
-rw-r--r--linuxthreads/man/pthread_exit.man32
-rw-r--r--linuxthreads/man/pthread_join.man70
-rw-r--r--linuxthreads/man/pthread_key_create.man151
-rw-r--r--linuxthreads/man/pthread_kill_other_threads_np.man40
-rw-r--r--linuxthreads/man/pthread_mutex_init.man213
-rw-r--r--linuxthreads/man/pthread_mutexattr_init.man84
-rw-r--r--linuxthreads/man/pthread_once.man34
-rw-r--r--linuxthreads/man/pthread_self.man23
-rw-r--r--linuxthreads/man/pthread_setschedparam.man79
-rw-r--r--linuxthreads/man/pthread_sigmask.man123
-rw-r--r--linuxthreads/man/sem_init.man132
-rwxr-xr-xlinuxthreads/man/troffprepro68
-rw-r--r--linuxthreads/manager.c400
-rw-r--r--linuxthreads/mutex.c234
-rw-r--r--linuxthreads/ptfork.c97
-rw-r--r--linuxthreads/pthread.c445
-rw-r--r--linuxthreads/queue.h62
-rw-r--r--linuxthreads/restart.h57
-rw-r--r--linuxthreads/rwlock.c276
-rw-r--r--linuxthreads/semaphore.c236
-rw-r--r--linuxthreads/semaphore.h38
-rw-r--r--linuxthreads/shlib-versions2
-rw-r--r--linuxthreads/signals.c148
-rw-r--r--linuxthreads/specific.c174
-rw-r--r--linuxthreads/spinlock.h30
-rw-r--r--linuxthreads/sysdeps/alpha/bits/semaphore.h31
-rw-r--r--linuxthreads/sysdeps/alpha/pt-machine.h102
-rw-r--r--linuxthreads/sysdeps/arm/Implies1
-rw-r--r--linuxthreads/sysdeps/arm/pt-machine.h44
-rw-r--r--linuxthreads/sysdeps/i386/Implies1
-rw-r--r--linuxthreads/sysdeps/i386/pt-machine.h93
-rw-r--r--linuxthreads/sysdeps/m68k/Implies1
-rw-r--r--linuxthreads/sysdeps/m68k/pt-machine.h58
-rw-r--r--linuxthreads/sysdeps/mips/Implies1
-rw-r--r--linuxthreads/sysdeps/mips/pt-machine.h84
-rw-r--r--linuxthreads/sysdeps/powerpc/Implies1
-rw-r--r--linuxthreads/sysdeps/powerpc/bits/semaphore.h32
-rw-r--r--linuxthreads/sysdeps/powerpc/pt-machine.h84
-rw-r--r--linuxthreads/sysdeps/pthread/Makefile3
-rw-r--r--linuxthreads/sysdeps/pthread/bits/libc-lock.h208
-rw-r--r--linuxthreads/sysdeps/pthread/bits/stdio-lock.h35
-rw-r--r--linuxthreads/sysdeps/pthread/cmpxchg/bits/semaphore.h26
-rw-r--r--linuxthreads/sysdeps/pthread/no-cmpxchg/bits/semaphore.h27
-rw-r--r--linuxthreads/sysdeps/pthread/pthread.h578
-rw-r--r--linuxthreads/sysdeps/sparc/sparc32/Implies1
-rw-r--r--linuxthreads/sysdeps/sparc/sparc32/pt-machine.h55
-rw-r--r--linuxthreads/sysdeps/sparc/sparc64/Implies1
-rw-r--r--linuxthreads/sysdeps/sparc/sparc64/pt-machine.h67
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/Implies1
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h40
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h94
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/configure3
-rw-r--r--linuxthreads/weaks.c87
-rw-r--r--linuxthreads/wrapsyscall.c183
87 files changed, 10213 insertions, 0 deletions
diff --git a/linuxthreads/Banner b/linuxthreads/Banner
new file mode 100644
index 0000000000..c1a3821f13
--- /dev/null
+++ b/linuxthreads/Banner
@@ -0,0 +1 @@
+linuxthreads-0.7 by Xavier Leroy
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
new file mode 100644
index 0000000000..696d15178d
--- /dev/null
+++ b/linuxthreads/ChangeLog
@@ -0,0 +1,271 @@
+1998-03-11 00:42 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
+
+ * linuxthreads/manager.c: Enable resetting of the thread
+ scheduling policy to SCHED_OTHER when the parent thread
+ has a different one.
+
+1998-02-01 13:51 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
+ _POSIX_ASYNCHRONOUS_IO.
+
+ * sysdeps/pthread/pthread.h: Define bits for Unix98 variants of
+ mutexes.
+ * mutex.c: Implement new mutex types.
+
+ * internals.h: Include <signal.h>.
+
+ * libpthread.map: Add __erno_location and __h_errno_location.
+
+ * errno.c: Return pointer to variable actually in use. This might
+ not be the one in the thread structure.
+ * internals.h (struct _pthread_descr_struct): Add new fields p_errnop
+ and p_h_errnop.
+ * manager.c (__pthread_manager): Set p_errnop and p_h_errnop member
+ of manager thread structure.
+ (pthread_handle_create): Set p_errnop and p_h_errnop members for new
+ thread.
+ * pthread.c: Adapt initializer for thread structures.
+ (__pthread_initial_thread): Set p_errnop and p_h_errnop member.
+ (__pthread_reset_main_thread): Reset p_errnop and p_h_errnop of
+ current thread to global variables.
+
+1998-01-31 17:27 Ulrich Drepper <drepper@cygnus.com>
+
+ * rwlock.c: New file.
+ * Makefile (libpthread-routines): Add rwlock.
+ * sysdeps/pthread/pthread.h: Define data structures and declare
+ functions.
+ * libpthread.map: Add new functions.
+
+1997-12-18 13:50 Philip Blundell <pb@nexus.co.uk>
+
+ * sysdeps/arm/pt-machine.h: New file; add ARM support.
+ * sysdeps/arm/Implies: likewise.
+ * README: Document it.
+
+1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * signals.c: Remove unneeded initializer for sigwaited, saving a
+ warning.
+
+1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * semaphore.c (sem_init): Set sem_spinlock only if available.
+
+1997-12-04 01:48 Ulrich Drepper <drepper@cygnus.com>
<