D23008: [baloo_file_extractor] Be more resistant to multiple QSocketNotifier events

Stefan BrĂ¼ns noreply at phabricator.kde.org
Thu Aug 8 13:37:15 BST 2019


bruns added a comment.


  @poboiko - is the problem you describe purely theoretical, or did you actually see it happen?
  
  Multiple triggers of `slotNewInput` are **not** a problem, the code flow reaches the `m_tr = new Transaction(...)` only iff a batch has been read. And batches are only issued when the  previous one has been signaled completed with the 'B' batch end marker.

REPOSITORY
  R293 Baloo

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

To: poboiko, #baloo, bruns, ngraham
Cc: anthonyfieroni, broulik, kde-frameworks-devel, LeGast00n, fbampaloukas, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190808/1ec1b9a8/attachment.html>


More information about the Kde-frameworks-devel mailing list