D22333: Move Solid::Device::listFromQuery calls to a separate thread

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Jul 12 22:03:42 BST 2019


bruns added a comment.


  In D22333#494415 <https://phabricator.kde.org/D22333#494415>, @apol wrote:
  
  > In D22333#494389 <https://phabricator.kde.org/D22333#494389>, @bruns wrote:
  >
  > > Again, where is it blocking? Which backend?
  >
  >
  > udisks2 mainly, but every backend can block by its virtue.
  
  
  The code can still block, as every invocation of 'Solid::Device(udi)` does a blocking DBus call to udisks2.
  
  Also, the code is calling non-threadsafe code from multiple threads now (e.g. once from each the two dataengines helper threads). Each one will call the udisks2 `Manager::deviceCache()` method.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D22333

To: apol, #plasma, davidedmundson, bruns
Cc: bruns, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190712/fcd2d724/attachment.html>


More information about the Plasma-devel mailing list