[Nepomuk] Review Request: Fix crashes due to using the same QUrls in multiple threads.

David Faure faure at kde.org
Thu Jul 19 13:19:26 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105621/
-----------------------------------------------------------

(Updated July 19, 2012, 1:19 p.m.)


Review request for Nepomuk.


Changes
-------

(fooled by post-review again)


Description
-------

Fix crashes due to using the same QUrls in multiple threads.

I'm also working on a Qt4 QUrl fix (using QMutex), and this is already
fixed in Qt5 (the rewrite does no more delayed parsing), but let's make
our software stable as soon as possible, too, by using QThreadStorage
to avoid the race.


Diffs (updated)
-----

  tools/onto2vocabularyclass.cpp 9a5a92b6210e695a6ad3cba9afe9aa1341759fc5 

Diff: http://git.reviewboard.kde.org/r/105621/diff/


Testing
-------


Thanks,

David Faure

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120719/cd59d3df/attachment.html>


More information about the Nepomuk mailing list