commit | 2224f5cf5b16ea68304564e7f9ec2ecbb4f1a98e | [log] [tgz] |
---|---|---|
author | thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sat Aug 14 15:37:59 2004 +0000 |
committer | thughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sat Aug 14 15:37:59 2004 +0000 |
tree | 56c7c59eb21b4ba8983d4238a0542230b62b6e6f | |
parent | 26ab77bacd7e40d93ba47632deac0403c39921b4 [diff] |
Maek init_global_thread_specific_state as a constructor to try and ensure that it is called as soon as libpthread.so is loaded even if pthread_create is never called. This ensures that pthread_exit will work correctly, and I think will also cure the famous memory leak in the pthread specifics for the main thread. CCMAIL: 86730-done@bugs.kde.org git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2584 a5019735-40e9-0310-863c-91ae7b9d1cf9