Module Name: src Committed By: riz Date: Wed Nov 28 23:58:36 UTC 2012
Modified Files: src/lib/libpthread [netbsd-6]: pthread_int.h pthread_specific.c pthread_tsd.c Log Message: Pull up following revision(s) (requested by christos in ticket #724): lib/libpthread/pthread_specific.c: revision 1.24 lib/libpthread/pthread_tsd.c: revision 1.10 lib/libpthread/pthread_tsd.c: revision 1.9 lib/libpthread/pthread_int.h: revision 1.88 Replace the simple implementation of pthread_key_{create,destroy} and pthread_{g,s}etspecific functions, to one that invalidates values of keys in other threads when pthread_key_delete() is called. This fixes chromium, which expects pthread_key_delete() to do cleanup in all threads. Don't call the destructor in pthread_key_delete() following the standard. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.82.2.1 src/lib/libpthread/pthread_int.h cvs rdiff -u -r1.21 -r1.21.22.1 src/lib/libpthread/pthread_specific.c cvs rdiff -u -r1.7 -r1.7.24.1 src/lib/libpthread/pthread_tsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.