Reentrancy problems in Krita code
boud at valdyas.org
Thu Jun 3 09:28:49 CEST 2010
On Thu, 3 Jun 2010, Dmitry Kazakov wrote:
> As for those two:
> 1) KoColorSpaceRegitry - i think adding a mutex is a must, because the
> KoColorSpaceRegitry::instance() is a static variable and can cause problems
> outside merge code even. So i'm waiting for Cyrille's word.
Yes, I agree that we need a mutex here. Please test with Mutrace also!
> 2) KoProperties - we can make a thread-safe wrapper like KisProperties and
> guard it with a mutex.
If all else fails, we could try to make a thread-safe replacement in krita/image
for this, I guess?
More information about the kimageshop