rkflx updated this revision to Diff 18960. rkflx edited the summary of this revision. rkflx added a comment.
Thanks Oliver, I like compromises. You inspired me to try another way: Out with the `unique_lock<mutex>`, in with the `unique_ptr<bool>`. This way no custom RAII wrapper is needed. OTOH, I'm not really convinced there is no threading involved (or will be in the future). Anyway, I hope this is acceptable now. REPOSITORY R223 Okular CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D7595?vs=18903&id=18960 BRANCH reload-mutex (branched from Applications/17.08) REVISION DETAIL https://phabricator.kde.org/D7595 AFFECTED FILES part.cpp part.h To: rkflx, #okular Cc: sander, aacid
