[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Reentrancy problems in Krita code
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2010-06-03 7:28:49
Message-ID: Pine.LNX.4.64.1006030928010.10884 () calcifer ! valdyas ! org
[Download RAW message or body]

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?

Boudewijn

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic