D18888: Akonadi: fix racy code in (MimeType|Resource)::retrieveByNameOrCreate

Daniel Vrátil noreply at phabricator.kde.org
Sun Feb 10 23:14:08 GMT 2019


dvratil accepted this revision.
dvratil added a comment.
This revision is now accepted and ready to land.


  I believe the attempt here was to make the most common case of successful retrieval lock-free, but I now realize how broken that approach was. Thanks for the patch!

REPOSITORY
  R165 Akonadi

BRANCH
  Applications/18.12

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

To: dfaure, dvratil
Cc: mlaurent, vkrause, kde-pim, dvasin, rodsevich, winterz, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190210/2e90c89f/attachment.html>


More information about the kde-pim mailing list