NetBSD/lib/libpthread
drochner f1c955a1b2 Fix the comparision function used by the red-black tree global thread list
implementation:
-don't return a difference, this can overflow
-don't try to substract typed pointers which don't belong to the
 same object, this gives undefined results

This fixes instabilities of programs which use more than a handful
of threads, eg spuriously failing pthread_join().
2009-04-01 10:13:24 +00:00
..
arch
affinity.3
Makefile check for ${PTHREAD_MACHINE_ARCH} before ${MACHINE_ARCH} or ${MACHINE_CPU} 2008-10-26 00:00:27 +00:00
pthread_attr_getname_np.3
pthread_attr_setcreatesuspend_np.3
pthread_attr_setname_np.3
pthread_attr.3
pthread_attr.c
pthread_barrier_destroy.3
pthread_barrier_init.3
pthread_barrier_wait.3
pthread_barrier.c
pthread_barrierattr.3
pthread_cancel.3
pthread_cancelstub.c
pthread_cleanup_push.3
pthread_compat.c
pthread_cond_broadcast.3
pthread_cond_destroy.3
pthread_cond_init.3
pthread_cond_wait.3
pthread_cond.c
pthread_condattr.3
pthread_create.3
pthread_detach.3
pthread_equal.3
pthread_exit.3
pthread_getname_np.3
pthread_getspecific.3
pthread_int.h
pthread_join.3
pthread_key_create.3
pthread_key_delete.3
pthread_kill.3
pthread_lock.c
pthread_misc.c
pthread_mutex_destroy.3
pthread_mutex_init.3
pthread_mutex_lock.3
pthread_mutex_unlock.3
pthread_mutex.c
pthread_mutexattr.3
pthread_once.3
pthread_queue.h
pthread_rwlock_destroy.3
pthread_rwlock_init.3
pthread_rwlock_rdlock.3
pthread_rwlock_unlock.3
pthread_rwlock_wrlock.3
pthread_rwlock.c
pthread_rwlockattr.3
pthread_schedparam.3
pthread_self.3
pthread_setname_np.3
pthread_setspecific.3
pthread_sigmask.3
pthread_specific.c
pthread_spin_destroy.3
pthread_spin_init.3
pthread_spin_lock.3
pthread_spin_unlock.3
pthread_spin.c
pthread_suspend_np.3
pthread_testcancel.3 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
pthread_tsd.c
pthread_types.h
pthread.3
pthread.c Fix the comparision function used by the red-black tree global thread list 2009-04-01 10:13:24 +00:00
pthread.h
README
res_state.c
sem.c
shlib_version
TODO

$NetBSD: README,v 1.5 2007/10/16 15:21:54 ad Exp $

When making changes to libpthread, please ensure that libpthread_dbg
still compiles.