summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbconnection.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-03-30 10:52:09 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-03-30 12:08:22 (GMT)
commit725ed9f1c192e9c72ddfb2f34c28355ea2d0b769 (patch)
tree7c569156d67b8f80f7c870e05e5c0d4a52399207 /src/plugins/platforms/xcb/qxcbconnection.h
parentb35988fe3299b2f76fb29507ca46298c2bef47df (diff)
downloadQt-725ed9f1c192e9c72ddfb2f34c28355ea2d0b769.zip
Qt-725ed9f1c192e9c72ddfb2f34c28355ea2d0b769.tar.gz
Qt-725ed9f1c192e9c72ddfb2f34c28355ea2d0b769.tar.bz2
Protect access to the call log with a mutex.
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h
index 0a7efd5..036670a 100644
--- a/src/plugins/platforms/xcb/qxcbconnection.h
+++ b/src/plugins/platforms/xcb/qxcbconnection.h
@@ -304,6 +304,7 @@ private:
int line;
};
QVector<CallInfo> m_callLog;
+ QMutex m_callLogMutex;
void log(const char *file, int line, int sequence);
template <typename cookie_t>
friend cookie_t q_xcb_call_template(const cookie_t &cookie, QXcbConnection *connection, const char *file, int line);