commit | f786618921b08482d3090ea2461b0b2d3825b515 | [log] [tgz] |
---|---|---|
author | fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Mar 16 22:09:12 2004 +0000 |
committer | fitzhardinge <fitzhardinge@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Mar 16 22:09:12 2004 +0000 |
tree | cba79b5da38e582d7feaaef479a51c83dcaf82e8 | |
parent | 284285987fe0d457fa686ff0e1f5a3faec9b2141 [diff] |
When creating new threads, initially block all signals. It's up to the client code (in vg_libpthread.c) to set the appropriate signal mask when its ready. This prevents a bug where a thread gets sent a signal before even running any of its initialization code, which can cause problems (particularly if the signal handler directly or indirectly uses TLS). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2332 a5019735-40e9-0310-863c-91ae7b9d1cf9