summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads')
-rw-r--r--libpthread/linuxthreads/ChangeLog1257
-rw-r--r--libpthread/linuxthreads/Changes73
-rw-r--r--libpthread/linuxthreads/FAQ.html1039
-rw-r--r--libpthread/linuxthreads/LICENSE501
-rw-r--r--libpthread/linuxthreads/Makefile59
-rw-r--r--libpthread/linuxthreads/README166
-rw-r--r--libpthread/linuxthreads/README.Xfree3.2352
-rw-r--r--libpthread/linuxthreads/Versions121
-rw-r--r--libpthread/linuxthreads/attr.c214
-rw-r--r--libpthread/linuxthreads/cancel.c171
-rw-r--r--libpthread/linuxthreads/condvar.c417
-rw-r--r--libpthread/linuxthreads/configure5
-rw-r--r--libpthread/linuxthreads/debug.h50
-rw-r--r--libpthread/linuxthreads/errno.c34
-rw-r--r--libpthread/linuxthreads/events.c35
-rw-r--r--libpthread/linuxthreads/internals.h480
-rw-r--r--libpthread/linuxthreads/join.c213
-rw-r--r--libpthread/linuxthreads/linuxthreads.texi1428
-rw-r--r--libpthread/linuxthreads/lockfile.c88
-rw-r--r--libpthread/linuxthreads/manager.c786
-rw-r--r--libpthread/linuxthreads/mutex.c201
-rw-r--r--libpthread/linuxthreads/no-tsd.c33
-rw-r--r--libpthread/linuxthreads/oldsemaphore.c235
-rw-r--r--libpthread/linuxthreads/pt-machine.c22
-rw-r--r--libpthread/linuxthreads/ptfork.c107
-rw-r--r--libpthread/linuxthreads/pthread.c876
-rw-r--r--libpthread/linuxthreads/ptlongjmp.c55
-rw-r--r--libpthread/linuxthreads/queue.h61
-rw-r--r--libpthread/linuxthreads/restart.h27
-rw-r--r--libpthread/linuxthreads/rwlock.c486
-rw-r--r--libpthread/linuxthreads/semaphore.c209
-rw-r--r--libpthread/linuxthreads/semaphore.h80
-rw-r--r--libpthread/linuxthreads/signals.c239
-rw-r--r--libpthread/linuxthreads/specific.c179
-rw-r--r--libpthread/linuxthreads/spinlock.c195
-rw-r--r--libpthread/linuxthreads/spinlock.h102
-rw-r--r--libpthread/linuxthreads/sysdeps/alpha/pt-machine.h108
-rw-r--r--libpthread/linuxthreads/sysdeps/alpha/sigcontextinfo.h25
-rw-r--r--libpthread/linuxthreads/sysdeps/arm/bits/armsigctx.h73
-rw-r--r--libpthread/linuxthreads/sysdeps/arm/pt-machine.h48
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/i686/pt-machine.h67
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/pt-machine.h99
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/sigcontextinfo.h24
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/useldt.h170
-rw-r--r--libpthread/linuxthreads/sysdeps/m68k/pt-machine.h62
-rw-r--r--libpthread/linuxthreads/sysdeps/m68k/sigcontextinfo.h26
-rw-r--r--libpthread/linuxthreads/sysdeps/mips/pt-machine.h90
-rw-r--r--libpthread/linuxthreads/sysdeps/mips/sigcontextinfo.h27
-rw-r--r--libpthread/linuxthreads/sysdeps/powerpc/pt-machine.h69
-rw-r--r--libpthread/linuxthreads/sysdeps/powerpc/sigcontextinfo.h27
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/bits/libc-lock.h214
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/bits/libc-tsd.h44
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h122
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/bits/stdio-lock.h39
-rw-r--r--libpthread/linuxthreads/sysdeps/sparc/sparc32/pt-machine.h66
-rw-r--r--libpthread/linuxthreads/sysdeps/sparc/sparc32/sigcontextinfo.h29
-rw-r--r--libpthread/linuxthreads/sysdeps/sparc/sparc64/pt-machine.h77
-rw-r--r--libpthread/linuxthreads/sysdeps/sparc/sparc64/sigcontextinfo.h32
-rw-r--r--libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h55
-rw-r--r--libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h110
-rw-r--r--libpthread/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h37
-rw-r--r--libpthread/linuxthreads/testrtsig.h40
-rw-r--r--libpthread/linuxthreads/weaks.c120
-rw-r--r--libpthread/linuxthreads/wrapsyscall.c178
64 files changed, 12674 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/ChangeLog b/libpthread/linuxthreads/ChangeLog
new file mode 100644
index 000000000..0025b87c0
--- /dev/null
+++ b/libpthread/linuxthreads/ChangeLog
@@ -0,0 +1,1257 @@
+2000-02-22 Ulrich Drepper <drepper@redhat.com>
+
+ * semaphore.h (SEM_FAILED): Use 0 not NULL.
+
+2000-02-14 Ulrich Drepper <drepper@redhat.com>
+
+ * condvar.c (pthread_cond_timedwait_relative_old): Tight loop with
+ nanosleep does not work either. Get absolute time inside the
+ loop.
+ (pthread_cond_timedwait_relative_new): Likewise.
+ Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
+
+2000-02-13 Ulrich Drepper <drepper@redhat.com>
+
+ * condvar.c (pthread_cond_timedwait_relative_old): Undo last patch
+ but keep the code around. A bug in the kernel prevent us from
+ using the code.
+ (pthread_cond_timedwait_relative_new): Likewise.
+ (PR libc/1597 and libc/1598).
+
+2000-02-01 Kaz Kylheku <kaz@ashi.footprints.net>
+
+ * condvar.c (pthread_cond_timedwait_relative_old): Do tight
+ loop around nanosleep calls instead of around most of the function
+ (pthread_cond_timedwait_relative_new): Likewise.
+ body. Got rid of backwards goto and one local.
+
+2000-01-31 Ulrich Drepper <drepper@redhat.com>
+
+ * condvar.c (pthread_cond_timedwait_relative_old): Recompute time
+ before every nanosleep call to account for time spent in the rest
+ of the function.
+ (pthread_cond_timedwait_relative_new): Likewise.
+ Patch by khendricks@ivey.uwo.ca (PR libc/1564).
+
+2000-01-29 Ulrich Drepper <drepper@redhat.com>
+
+ * condvar.c (pthread_cond_timedwait_relative_old): Get remaining time
+ from nanosleep call so that in case we restart we only wait for the
+ remaining time.
+ (pthread_cond_timedwait_relative_new): Likewise.
+ Patch by khendricks@ivey.uwo.ca (PR libc/1561).
+
+2000-01-18 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (pthread_allocate_stack): Compute guard page address
+ correctly. Patch by HJ Lu.
+
+2000-01-12 Ulrich Drepper <drepper@cygnus.com>
+
+ * internals.h (pthread_readlock_info): New structure.
+ (_pthread_descr_struct): Add p_readlock_list, p_readlock_free, and
+ p_untracked_readlock_count.
+ * pthread.c (__pthread_initial_thread, pthread_manager_thread):
+ Add initializers for new fields.
+ * manager.c (pthread_free): Free read/write lock lists.
+ * queue.h (queue_is_empty): New function.
+ * rwlock.c: Implement requirements about when readers should get
+ locks assigned.
+ * sysdeps/pthread/pthread.h
+ (PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP): New definition.
+ * sysdeps/pthread/bits/pthreadtypes.h (struct _pthread_rwlock_t):
+ Define this name as well.
+ Patches by Kaz Kylheku <kaz@ashi.footprints.net>.
+
+2000-01-06 Andreas Jaeger <aj@suse.de>
+
+ * pthread.c: Remove extra initializer.
+
+2000-01-05 Ulrich Drepper <drepper@cygnus.com>
+
+ * pthread.c (__pthread_initial_thread, pthread_manager_thread):
+ Adjust initializers for struct _pthread_descr_struct change.
+ * internals.h (struct _pthread_descr_struct): Move new elements to
+ the end.
+
+2000-01-03 Kaz Kylheku <kaz@ashi.footprints.net>
+
+ Redesigned how cancellation unblocks a thread from internal
+ cancellation points (sem_wait, pthread_join,
+ pthread_cond_{wait,timedwait}).
+ Cancellation won't eat a signal in any of these functions
+ (*required* by POSIX and Single Unix Spec!).
+ * condvar.c: Spontaneous wakeup on pthread_cond_timedwait won't eat a
+ simultaneous condition variable signal (not required by POSIX
+ or Single Unix Spec, but nice).
+ * spinlock.c: __pthread_lock queues back any received restarts
+ that don't belong to it instead of assuming ownership of lock
+ upon any restart; fastlock can no longer be acquired by two threads
+ simultaneously.
+ * restart.h: Restarts queue even on kernels that don't have
+ queued real time signals (2.0, early 2.1), thanks to atomic counter,
+ avoiding a rare race condition in pthread_cond_timedwait.
+
+1999-12-28 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/alpha/pt-machine.h: Move stack_pointer definition to the
+ beginning.
+
+ * manager.c (__pthread_start): Add one more cast to assignment of
+ arg to prevent warning on 64bit machines.
+
+1999-12-21 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (pthread_handle_create): Set p_pid of new thread
+ before calling the callback function to report a new thread.
+
+1999-12-20 Andreas Jaeger <aj@suse.de>
+
+ * pthread.c (pthread_initialize): Move getrlimit call after
+ setting of errno.
+
+1999-12-01 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/i386/pt-machine.h: Move stack_pointer definition to the
+ beginning.
+ * sysdeps/i386/i686/pt-machine.h: Likewise.
+ Patches by Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>.
+
+1999-11-23 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (pthread_start_thread_event): Initialize p_pid already
+ here.
+
+1999-11-22 Ulrich Drepper <drepper@cygnus.com>
+
+ * internals.h: Add prototype for __pthread_manager_event.
+ * manager.c (__pthread_manager_event): New function.
+ (pthread_start_thread_event): Correct computation of self.
+ Use INIT_THREAD_SELF.
+ * pthread.c (__pthread_manager_thread): Initialize p_lock.
+ (__pthread_initialize_manager): Respect event flags also for creation
+ of the manager thread.
+
+1999-11-08 Ulrich Drepper <drepper@cygnus.com>
+
+ * pthread.c (__pthread_initialize_manager): Initialize
+ __pthread_manager_thread.p_tid.
+
+1999-11-02 Ulrich Drepper <drepper@cygnus.com>
+
+ * internals.h: Declare __pthread_last_event.
+ * manager.c: Define __pthread_last_event.
+ (pthread_handle_create): Set __pthread_last_event.
+ (pthread_exited): Likewise.
+ * join.c (pthread_exit): Likewise.
+
+ * Makefile (libpthread-routines): Add events.
+ * events.c: New file.
+ * internals.h: Protect against multiple inclusion.
+ Include thread_dbP.h header.
+ (struct _pthread_descr_struct): Add new fields p_report_events and
+ p_eventbuf.
+ Declare event reporting functions.
+ * join.c (pthread_exit): Signal event if this is wanted.
+ * manager.c (__pthread_threads_events): New variable.
+ (pthread_handle_create): Take new parameters with event information.
+ Signal TD_CREATE event if wanted.
+ (__pthread_manager): Adjust pthread_handle_create call.
+ (pthread_start_thread_event): New function. Block until manager is
+ finished and then call pthread_start_thread.
+ (pthread_exited): Signal TD_REAP event if wanted.
+
+1999-10-26 Ulrich Drepper <drepper@cygnus.com>
+
+ * restart.h (suspend_with_cancellation): Rewrite as a macro.
+
+ * condvar.c (pthread_cond_timedwait_relative): Don't mark as inline.
+
+1999-10-21 Xavier Leroy <Xavier.Leroy@inria.fr>
+
+ * linuxthreads/pthread.c: For i386, wrap pthread_handle_sigrestart
+ and pthread_handle_sigcancel with functions that restore
+ %gs from the signal context. For each signal handling function,
+ two wrappers are required, one for a non-RT signal and one for
+ a RT signal.
+ * linuxthreads/signal.c: For i386, add code to restore %gs
+ from the signal context in pthread_sighandler and
+ pthread_sighandler_rt.
+
+1999-10-09 Andreas Jaeger <aj@suse.de>
+
+ * internals.h: Add __new_sem_post to get prototype in
+ manager.c; include semaphore.h for needed types.
+
+1999-10-08 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (__pthread_manager) [REQ_POST]: Use __new_sem_post
+ directly instead of calling sem_post which should not be necessary
+ but is faster and might help in some case to work around problems.
+
+1999-09-25 Ulrich Drepper <drepper@cygnus.com>
+
+ * condvar.c (pthread_cond_timedwait_relative): Never return with
+ EINTR. Patch by Andreas Schwab.
+
+1999-09-19 Ulrich Drepper <drepper@cygnus.com>
+
+ * signals.c (sigaction): Correct last patch. Don't select
+ pthread_sighandler_rt based on the signal number but instead of
+ the SA_SIGINFO flag.
+
+1999-09-23 Ulrich Drepper <drepper@cygnus.com>
+
+ * specific.c: Move definitions of struct pthread_key_struct and
+ destr_function to ...
+ * internals.h: ...here.
+
+1999-09-03 Andreas Schwab <schwab@suse.de>
+
+ * ptfork.c (__fork): Renamed from fork and use __libc_fork. Add
+ fork as weak alias.
+ (__vfork): New function, alias vfork.
+ * Versions: Export __fork, vfork, and __vfork in libpthread.
+
+1999-08-23 Andreas Schwab <schwab@suse.de>
+
+ * signals.c (pthread_sighandler): Add SIGCONTEXT_EXTRA_ARGS to
+ call to signal handler.
+
+1999-08-20 Ulrich Drepper <drepper@cygnus.com>
+
+ * pthread.c (__pthread_reset_main_thread): Undo last change.
+ (__pthread_kill_other_threads_np): Reset signal handlers for the
+ signals we used in the thread implementation here.
+
+1999-08-19 Ulrich Drepper <drepper@cygnus.com>
+
+ * pthread.c (__pthread_reset_main_thread): Reset signal handlers
+ for the signals we used in the thread implementation [PR libc/1234].
+
+ * Versions: Export __pthread_kill_other_threads_np from libpthread
+ for GLIBC_2.1.2.
+
+ * signals.c: Pass sigcontext through wrapper to the user function.
+
+1999-08-01 Ulrich Drepper <drepper@cygnus.com>
+
+ * Versions [ld.so] (GLIBC_2.0): Export __libc_internal_tsd_get and
+ __libc_internal_tsd_set.
+
+1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * manager.c: Remove inclusion of <linux/tasks.h> since it's not
+ needed anymore.
+
+1999-07-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * internals.h: Align _pthread_descr_struct to 32 bytes.
+ Reported by Tim Hockin <thockin@cobaltnet.com>, close PR libc/1206.
+
+1999-07-09 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (pthread_handle_create): Free mmap region after stack
+ if clone failed. Patch by Kaz Kylheku <kaz@ashi.FootPrints.net>.
+
+1999-07-09 Cristian Gafton <gafton@redhat.com>
+
+ * Makefile (libpthread-routines): Add oldsemaphore routine.
+ * Versions: Add sem_destroy, sem_getvalue, sem_init, sem_post,
+ sem_trywait, and sem_wait to GLIBC_2.1.
+ * oldsemaphore.c: New file.
+ * semaphore.c: Add default_symbol_versions for the changed functions.
+ (__new_sem_init): Rename from sem_init.
+ (__new_sem_post): Rename from sem_post.
+ (__new_sem_wait): Rename from sem_wait.
+ (__new_sem_trywait): Rename from sem_trywait.
+ (__new_sem_getvalue): Rename from sem_getvalue.
+ (__new_sem_destroy): Rename from sem_destroy.
+
+1999-06-23 Robey Pointer <robey@netscape.com>
+
+ * internals.h: Added p_nextlock entry to separate queueing for a
+ lock from queueing for a CV (sometimes a thread queues on a lock
+ to serialize removing itself from a CV queue).
+ * pthread.c: Added p_nextlock to initializers.
+ * spinlock.c: Changed to use p_nextlock instead of p_nextwaiting.
+
+1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * man/pthread_cond_init.man: Correct example.
+ Reported by Tomas Berndtsson <tomas@nocrew.org>.
+
+ * linuxthreads.texi (Condition Variables): Likewise.
+
+1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
+
+ * sysdeps/sparc/sparc64/pt-machine.h (__compare_and_swap): Use
+ casx not cas, also successful casx returns the old value in rd
+ and not the new value.
+
+1999-05-16 Xavier Leroy <Xavier.Leroy@inria.fr>
+
+ * manager.c: If pthread_create() is given a NULL attribute
+ and the thread manager runs with a realtime policy, set the
+ scheduling policy of the newly created thread back to SCHED_OTHER.
+ * manager.c: If the PTHREAD_INHERIT_SCHED attribute is given,
+ initialize the schedpolicy field of new_thread->p_start_args
+ to that of the calling thread.
+
+1999-04-29 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/sparc/sparc64/pt-machine.h (__compare_and_swap): cas
+ instruction does not allow memory element to use offset.
+
+1999-04-28 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (pthread_allocate_stack): Optimize initialization of new
+ thread descriptor.
+
+ * sysdeps/pthread/bits/libc-lock.h (__libc_lock_define_initialized):
+ Don't use initializer since it is all zeroes.
+ (__libc_once_define): Likewise.
+
+1999-04-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * sysdeps/arm/Implies: Removed since cmpxchg/no-cmpxchg
+ doesn't exist anymore.
+ * sysdeps/i386/Implies: Likewise.
+ * sysdeps/m68k/Implies: Likewise.
+ * sysdeps/mips/Implies: Likewise.
+ * sysdeps/powerpc/Implies: Likewise.
+ * sysdeps/sparc/sparc32/Implies: Likewise.
+ * sysdeps/sparc/sparc64/Implies: Likewise.
+
+1999-04-15 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/alpha/bits/semaphore.h: Removed.
+ * sysdeps/powerpc/bits/semaphore.h: Removed.
+ * sysdeps/pthread/cmpxchg/bits/semaphore.h: Removed.
+ * sysdeps/pthread/no-cmpxchg/bits/semaphore.h: Removed.
+ * Makefile (headers): Remove bits/semaphore.h.
+
+ * semaphore.h: Define _pthread_descr if necessary.
+ Don't include limits.h. Define SEM_VALUE_MAX directly.
+ Define SEM_FAILED.
+ (sem_t): Protect element names with leading __.
+ Add declarations for sem_close, sem_open, and sem_unlink.
+ * semaphore.c: Adjust all functions for new element names.
+ Define sem_close, sem_open, and sem_unlink.
+ * Versions (libthread): Add sem_close, sem_open, and sem_unlink for
+ GLIBC_2.1.1.
+ * sysdeps/pthread/bits/pthreadtypes.h: Define _pthread_descr only if
+ necessary.
+
+1999-03-16 H.J. Lu <hjl@gnu.org>
+
+ * specific.c (pthread_key_delete): Check th->p_terminated to see
+ if the thread is running.
+
+ * Versions (__libc_internal_tsd_get, __libc_internal_tsd_set):
+ Added to GLIBC_2.0 for libc.so.
+
+1999-02-12 H.J. Lu <hjl@gnu.org>
+
+ * Versions (__libc_current_sigrtmin, __libc_current_sigrtmax,
+ __libc_allocate_rtsig): Added to GLIBC_2.1.
+
+ * internals.h (DEFAULT_SIG_RESTART): Removed.
+ (DEFAULT_SIG_CANCEL): Removed.
+
+ * pthread.c (init_rtsigs, __libc_current_sigrtmin,
+ __libc_current_sigrtmax, __libc_allocate_rtsig): New functions.
+ (__pthread_sig_restart, __pthread_sig_cancel,
+ __pthread_sig_debug): Initialized.
+ (pthread_initialize): Call init_rtsigs () to initialize
+ real-time signals.
+
+1999-02-03 H.J. Lu <hjl@gnu.org>
+
+ * manager.c (__pthread_manager): Do block __pthread_sig_debug.
+ Don't restart the thread which sent REQ_DEBUG.
+ (pthread_start_thread): Check if __pthread_sig_debug > 0
+ before debugging.
+
+ * pthread.c (__pthread_initialize_manager): Suspend ourself
+ after sending __pthread_sig_debug to gdb instead of
+ __pthread_sig_cancel.
+
+1999-01-24 H.J. Lu <hjl@gnu.org>
+
+ * manager.c (__pthread_manager): Delete __pthread_sig_debug
+ from mask if __pthread_sig_debug > 0.
+ (pthread_handle_create): Increment __pthread_handles_num.
+
+ * manager.c (pthread_handle_create): Don't pass CLONE_PTRACE to clone.
+ * pthread.c (__pthread_initialize_manager): Likewise.
+
+ * pthread.c (pthread_initialize): Use __libc_allocate_rtsig (1)
+ instead of __libc_allocate_rtsig (2).
+ (__pthread_initialize_manager): Send __pthread_sig_debug to gdb
+ instead of __pthread_sig_cancel.
+ (pthread_handle_sigdebug): Fix comments.
+
+1999-01-21 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c (pthread_allocate_stack): Set
+ __pthread_nonstandard_stacks if user-specified stack is used.
+
+1999-01-16 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _LFS_ASYNCHRONOUS_IO,
+ _LFS_LARGEFILE, _LFS64_LARGEFILE, and _LFS64_STDIO from Unix98.
+
+1999-01-07 Xavier Leroy <Xavier.Leroy@inria.fr>
+
+ * pthread.c: Use a third signal __pthread_sig_debug distinct
+ from __pthread_sig_cancel to notify gdb when a thread is
+ created
+ * manager.c: Likewise.
+ * internals.h: Likewise.
+ * signals.c: The implementation of sigwait(s) assumed that
+ all signals in s have signal handlers already attached.
+ This is not required by the standard, so make it work
+ also if some of the signals have no handlers.
+
+1999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * linuxthreads.texi: Remove pointers from first @node. Move old
+ @node spec inside comment.
+
+1998-12-31 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/pthread/bits/stdio-lock.h: Define _IO_lock_lock and
+ _IO_lock_unlock.
+
+1998-12-29 Ulrich Drepper <drepper@cygnus.com>
+
+ * semaphore.c (sem_trywait): Don't forget to unlock the semaphore
+ lock. Patch by Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>.
+
+1998-12-21 Ulrich Drepper <drepper@cygnus.com>
+
+ * manager.c: Threads now send __pthread_sig_cancel on termination.
+ Change clone call and signal masks.
+ * thread.c (pthread_handle_sigrestart): Remove special code for
+ manager.
+ (pthread_handle_sigcancel): In manager thread call
+ __pthread_manager_sighandler.
+ * sysdeps/i386/pt-machine.h (__compare_and_swap): Add memory clobber.
+ * sysdeps/i386/i686/pt-machine.h: Likewise.
+ Patches by Xavier Leroy.
+
+1998-12-14 Ulrich Drepper <drepper@cygnus.com>
+
+ * spinlock.c (__pthread_unlock): Don't crash if called for an
+ untaken mutex. Reported by Ruslan V. Brushkoff <rus@Snif.Te.Net.UA>.
+
+ * Examples/ex6.c: Unbuffer stdout and reduce sleep time to reduce
+ overall runtime.
+
+1998-12-13 Ulrich Drepper <drepper@cygnus.com>
+
+ * Examples/ex3.c: Wait until all threads are started before
+ searching for the number to avoid race condition on very fast
+ systems.
+
+1998-12-08 Andreas Jaeger <aj@arthur.rh