DescriptionFix race between ~SkThreadPool and SkThreadPool::Loop on fDone.
We're writing fDone without holding the mutex. Bad form, says tsan.
In practice this is fairly innocuous, as fDone only ever goes from false to
true and only once. Though, I wouldn't be surprised if there were some way
this could leak a thread that never got the signal to die.
BUG=
Committed: http://code.google.com/p/skia/source/detail?r=11563
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|