]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/versioncontrol/updateitemstatesthread.cpp
Get back names, and use "using" keyword to keep GCC silent on "method foo on base...
[dolphin.git] / src / versioncontrol / updateitemstatesthread.cpp
index 3ac74a11b7ce5d3605b8e772f1d9a11351da0ebe..ca212c97d8aebeca698312b9a7de36bd3ddba620 100644 (file)
@@ -25,6 +25,9 @@ UpdateItemStatesThread::UpdateItemStatesThread() :
     m_mutex(0),
     m_itemStates()
 {
+    // Several threads may share one instance of a plugin. A global
+    // mutex is required to serialize the retrieval of version control
+    // states inside run().
     static QMutex globalMutex;
     m_mutex = &globalMutex;
 }