lock contention - what can we do about it?
Milian Wolff
mail at milianw.de
Sat Mar 5 19:11:09 UTC 2011
David Nolden, 05.03.2011:
> No, it cannot be rewritten like this, because the mutex also ensures
> the integrity of the whole repository dataRepository, and you must not
> call methods like dynamicItemFromIndexSimple without holding it.
>
> AFAIR, dataRepository has all its own thread-safety disabled, and is
> protected by a "higher" surrounding mutex, which is
> m_repository->m_mutex, that's why that mutex is used.
I see, thanks.
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110305/b41deea2/attachment.sig>
More information about the KDevelop-devel
mailing list