On Wed, Jul 12, 2017 at 01:05:38PM -0700, Adam Buchbinder wrote:
> The status display was reading the state while the task was updating
> it. Use a mutex to prevent the race.
>
> This race was detected using ThreadSanitizer and
> misc-tests/005-convert-progress-thread-crash.
>
>
The status display was reading the state while the task was updating
it. Use a mutex to prevent the race.
This race was detected using ThreadSanitizer and
misc-tests/005-convert-progress-thread-crash.
==
WARNING: ThreadSanitizer: data race
Write of size 8 by main thread:
#0