summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-06-05 11:29:48 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-06-05 11:29:48 (GMT)
commit847f669fd49a8691f1e765c8f2c4abf94e40f1c5 (patch)
treefa906bc8789a51cdd914d55044af2dd331300518 /src/corelib
parent958b66dd60aac48909a5ba32282e088e68d9a9c7 (diff)
downloadQt-847f669fd49a8691f1e765c8f2c4abf94e40f1c5.zip
Qt-847f669fd49a8691f1e765c8f2c4abf94e40f1c5.tar.gz
Qt-847f669fd49a8691f1e765c8f2c4abf94e40f1c5.tar.bz2
Cut the process priority lowering timeout to 100ms in Symbian eventdispatcher,
as some demos were getting ViewSrv 11 panics with 500ms timeout.
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/kernel/qeventdispatcher_symbian.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp
index 30b865e..c5d91c2 100644
--- a/src/corelib/kernel/qeventdispatcher_symbian.cpp
+++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp
@@ -454,8 +454,8 @@ void QSelectThread::requestSocketEvents ( QSocketNotifier *notifier, TRequestSta
}
QSelectMutexGrabber lock(m_pipeEnds[1], &m_mutex);
-
- Q_ASSERT(!m_AOStatuses.contains(notifier));
+
+ Q_ASSERT(!m_AOStatuses.contains(notifier));
m_AOStatuses.insert(notifier, status);
@@ -711,7 +711,7 @@ bool QEventDispatcherSymbian::processEvents ( QEventLoop::ProcessEventsFlags fla
break;
}
block = false;
- if (timeState == TimeStarted && time.elapsed() > 500) {
+ if (timeState == TimeStarted && time.elapsed() > 100) {
priority = m_processHandle.Priority();
m_processHandle.SetPriority(EPriorityLow);
time.start();