summaryrefslogtreecommitdiffstats
path: root/src/kernel/qobjectdefs.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-14 19:34:10 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-14 19:34:10 -0500
commit4eba9b823832a5bab1acffeabc245b06fe113d75 (patch)
tree9ec81ead726a66066c6450c805beb8e233391a65 /src/kernel/qobjectdefs.h
parentbe8413249bb8a6d8dc2cfc693d9c1037284fd251 (diff)
downloadqt3-4eba9b823832a5bab1acffeabc245b06fe113d75.tar.gz
qt3-4eba9b823832a5bab1acffeabc245b06fe113d75.zip
Fix a number of threading data races
Add proper thread termination handler This partially resolves Bug 1508
Diffstat (limited to 'src/kernel/qobjectdefs.h')
-rw-r--r--src/kernel/qobjectdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/qobjectdefs.h b/src/kernel/qobjectdefs.h
index 37605bd..cab0ec0 100644
--- a/src/kernel/qobjectdefs.h
+++ b/src/kernel/qobjectdefs.h
@@ -157,6 +157,7 @@ class QMetaObject;
class QSignal;
class QConnection;
class QEvent;
+class QMutex;
struct QMetaData;
class QConnectionList;
class QConnectionListIt;
@@ -165,6 +166,8 @@ class QObjectList;
class QObjectListIt;
class QMemberDict;
+extern QMutex *qt_sharedMetaObjectMutex;
+
Q_EXPORT void *qt_find_obj_child( QObject *, const char *, const char * );
#define Q_CHILD(parent,type,name) \
((type*)qt_find_obj_child(parent,#type,name))