[Kst] kst_threading_branch: kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Jan 13 07:47:58 CET 2004
CVS commit by staikos:
Old synchronization patch I had lying around
M +6 -0 kstobject.cpp 1.7.2.4
--- kdeextragear-2/kst/kst/kstobject.cpp #1.7.2.3:1.7.2.4
@@ -26,4 +26,5 @@ KstObject::~KstObject() {
void KstObject::lock() {
+ Synchronized();
_mutex.lock();
}
@@ -31,4 +32,5 @@ void KstObject::lock() {
void KstObject::unlock() {
_mutex.unlock();
+ Synchronized();
}
@@ -45,16 +47,20 @@ bool KstObject::checkUpdateCounter(int u
}
return false;
+ Synchronized();
}
void KstObject::virtual_hook(int id, void *data) {
Q_UNUSED(id)
+ Synchronized();
Q_UNUSED(data)
}
const QString& KstObject::tagName() const {
+ Synchronized();
return _tag;
}
void KstObject::setTagName(const QString& newTag) {
+ Synchronized();
_tag = newTag;
}
More information about the Kst
mailing list