[Nepomuk] Review Request: NepomukStorage: Start the different services in a separate thread

Vishesh Handa me at vhanda.in
Tue Sep 4 12:09:00 UTC 2012


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

(Updated Sept. 4, 2012, 12:09 p.m.)


Review request for Nepomuk and Sebastian Trueg.


Changes
-------

Had to change the ResourceManager internals a little bit.


Description
-------

    Currently the QueryService internally uses the ResourceWatcher and the
    QueryParser, both of which use the Resource class. The Resource Class
    internally, requires the ResourceManager which uses the
    NepomukMainModel. This main model uses a local socket to connect to the
    storage service.
    
    Unfortunately, the soprano code is blocking and relies on a select call,
    so we cannot have both the server and client on the same thread, which
    is the case right now.


Diffs (updated)
-----

  libnepomukcore/resource/resourcemanager.cpp 198ad86 
  services/storage/nepomukcore.cpp 56d079a 

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


Testing
-------


Thanks,

Vishesh Handa

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


More information about the Nepomuk mailing list