[Kst] branches/work/kst/portto4/kst/src/libkst
Adam Treat
treat at kde.org
Fri Feb 16 18:42:36 CET 2007
SVN commit 634245 by treat:
* Just comment out the references to the private d-pointer for now
* This class will go away in favor of QWaitCondition in Qt4 anyway...
M +9 -9 kstwaitcondition_unix.cpp
--- branches/work/kst/portto4/kst/src/libkst/kstwaitcondition_unix.cpp #634244:634245
@@ -286,13 +286,13 @@
if (! mutex)
return FALSE;
- if (mutex->d->type() == Q_MUTEX_RECURSIVE) {
-#ifdef QT_CHECK_RANGE
- qWarning("Wait condition warning: using recursive mutexes with\n"
- " wait conditions is undefined!");
-#endif
- return FALSE;
- }
+// if (mutex->d->type() == Q_MUTEX_RECURSIVE) {
+// #ifdef QT_CHECK_RANGE
+// qWarning("Wait condition warning: using recursive mutexes with\n"
+// " wait conditions is undefined!");
+// #endif
+// return FALSE;
+// }
int ret;
if (time != ULONG_MAX) {
@@ -304,9 +304,9 @@
ti.tv_sec = tv.tv_sec + (time / 1000) + ( ti.tv_nsec / 1000000000 );
ti.tv_nsec %= 1000000000;
- ret = pthread_cond_timedwait(&d->cond, &mutex->d->handle, &ti);
+// ret = pthread_cond_timedwait(&d->cond, &mutex->d->handle, &ti);
} else
- ret = pthread_cond_wait(&d->cond, &mutex->d->handle);
+// ret = pthread_cond_wait(&d->cond, &mutex->d->handle);
#ifdef QT_CHECK_RANGE
if (ret && ret != ETIMEDOUT)
More information about the Kst
mailing list