[Nepomuk] Review Request: Fix race conditions in nepomuk's	ResourceData.
    David Faure 
    faure at kde.org
       
    Thu Sep  6 18:13:33 UTC 2012
    
    
  
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105562/
-----------------------------------------------------------
(Updated Sept. 6, 2012, 6:13 p.m.)
Review request for Nepomuk, Vishesh Handa and Sebastian Trueg.
Changes
-------
forgot to remove old code from slotPropertyAdded().
Description
-------
Fix race conditions in nepomuk's ResourceData.
Found with "helgrind kmail --nofork", inbox, clicking on any email.
where helgrind is "QT_NO_GLIB=1 valgrind --tool=helgrind --track-lockorders=no"
The change in resource.cpp avoids a deadlock due to the change
in resourcedata: no need to hold the rmMutex for the determineUri call.
This addresses bug 295802.
    http://bugs.kde.org/show_bug.cgi?id=295802
Diffs (updated)
-----
  libnepomukcore/resource/resourcemanager.cpp 2a6668a 
  libnepomukcore/resource/resourcedata.cpp c14582f 
  libnepomukcore/resource/resourcedata.h 7e185a7 
Diff: http://git.reviewboard.kde.org/r/105562/diff/
Testing
-------
Thanks,
David Faure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120906/5ccb32f5/attachment.html>
    
    
More information about the Nepomuk
mailing list