D11590: Add mutex round static member used in a thread
David Edmundson
noreply at phabricator.kde.org
Fri Mar 23 02:12:24 UTC 2018
davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
davidedmundson requested review of this revision.
REVISION SUMMARY
BackgroundFinder runs in a separate thread, it uses a static QStringList cache
It's perfectly plausible that two BackgroundFinders threads could run at once
TEST PLAN
Old code didn't crash, it was a pure hypothetical.
Works as before
REPOSITORY
R120 Plasma Workspace
BRANCH
davidedmundson/wallpaperrewrite
REVISION DETAIL
https://phabricator.kde.org/D11590
AFFECTED FILES
wallpapers/image/backgroundlistmodel.cpp
wallpapers/image/backgroundlistmodel.h
To: davidedmundson, #plasma
Cc: plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180323/1ff0d2ac/attachment.html>
More information about the Plasma-devel
mailing list