commit | e5286975cf981643cc487f3cc19338545ce181b9 | [log] [tgz] |
---|---|---|
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Jan 19 19:52:15 2012 +0000 |
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Jan 19 19:52:15 2012 +0000 |
tree | 52c364ab75ea02d7503572aafd57705ecd9bc933 | |
parent | b4c1afa1f9d3d71be62bc475063fab0b2dc55d27 [diff] |
drd: Fix a race condition in the pthread_create() intercept. Avoid that the futex wake call in DRD_(sema_up)() can get invoked after the semaphore has already been destroyed. This is most likely the real fix for the bug described in the commit message of r12332. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12346 a5019735-40e9-0310-863c-91ae7b9d1cf9