[Nepomuk] Review Request: Thread Safety in the IndexScheduler

Vishesh Handa handa.vish at gmail.com
Wed Aug 10 10:54:36 UTC 2011


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

(Updated Aug. 10, 2011, 10:54 a.m.)


Review request for Nepomuk and Sebastian Trueg.


Changes
-------

Removed indexing delay mutex.


Summary
-------

Many of the variables need to be accessed in IndexScheduler need to be protected with a mutex.

I think it's better to use multiple mutexes instead of one.


This addresses bug 279347.
    http://bugs.kde.org/show_bug.cgi?id=279347


Diffs (updated)
-----

  nepomuk/services/strigi/indexscheduler.h 4c83d04a39c644aa62b59c8ec844e0db900f3c6d 
  nepomuk/services/strigi/indexscheduler.cpp 7fd4dcb5a8e33362e8005406932b12176a804795 

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


Testing
-------

Nope. Don't know how to test this.


Thanks,

Vishesh

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


More information about the Nepomuk mailing list