Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/lib/libpthread



Module Name:    src
Committed By:   snj
Date:           Fri Apr  3 17:47:43 UTC 2009

Modified Files:
        src/lib/libpthread [netbsd-5]: pthread.c

Log Message:
Pull up following revision(s) (requested by drochner in ticket #648):
        lib/libpthread/pthread.c: revision 1.109
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().


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.106.2.1 src/lib/libpthread/pthread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index