commit | 0a1086e79c85216df6d5925717762bbd1b5e942a | [log] [tgz] |
---|---|---|
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Fri Aug 29 19:12:38 2014 +0000 |
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Fri Aug 29 19:12:38 2014 +0000 |
tree | 9a662ca29dca49628282085e1b7b7811e81ff315 | |
parent | 77ba302a6dfa722c3ad8c8658804790c43e9fcbc [diff] |
run_thread_for_a_while: Make the computation of done_this_time less bogus, and in particular ensure that it can't be zero if in fact the thread did do some useful work. Fix up a couple of associated assertions. Fixes #336435. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14386 a5019735-40e9-0310-863c-91ae7b9d1cf9