D15180: kioexecd: watch for creations or modifications of the temporary files

Anthony Fieroni noreply at phabricator.kde.org
Mon Sep 3 14:05:58 BST 2018


anthonyfieroni added inline comments.

INLINE COMMENTS

> kioexecd.cpp:122
> +    m_deleted_mutex.unlock();
> +    QTimer::singleShot(31000, [this]() { // 31s
> +        m_deleted_mutex.lock();

Better to me, make a class variable single shot timer, then when you add in deleted start it if not, when it expires delete what you do, at last check if deleted is not empty just restart it. Make 30s predefined.

REPOSITORY
  R241 KIO

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

To: jtamate, #frameworks, broulik, ngraham, dfaure, elvisangelaccio
Cc: anthonyfieroni, elvisangelaccio, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180903/47504392/attachment.html>


More information about the Kde-frameworks-devel mailing list