summaryrefslogtreecommitdiffstats
path: root/src/kvilib/system/kvi_thread.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:36:47 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:36:47 -0500
commita24a8595fc6663038f6ce26cfed6276910eef984 (patch)
treed8e1a65d9464de15750b6680820b828f9ab29406 /src/kvilib/system/kvi_thread.cpp
parent00ec3a9a04347a4c1ab434944fecd5e56607b13d (diff)
downloadkvirc-a24a8595fc6663038f6ce26cfed6276910eef984.tar.gz
kvirc-a24a8595fc6663038f6ce26cfed6276910eef984.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'src/kvilib/system/kvi_thread.cpp')
-rw-r--r--src/kvilib/system/kvi_thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvilib/system/kvi_thread.cpp b/src/kvilib/system/kvi_thread.cpp
index 472486f3..02dcdc09 100644
--- a/src/kvilib/system/kvi_thread.cpp
+++ b/src/kvilib/system/kvi_thread.cpp
@@ -152,7 +152,7 @@ static void kvi_threadInitialize()
// the maximum length of the slave->master queue
// over this length , the slave is forced to usleep()
-#define KVI_THREAD_MAX_EVENT_TQUEUE_LENGTH 50
+#define KVI_THREAD_MAX_EVENT_QUEUE_LENGTH 50
static KviThreadManager * g_pThreadManager = 0;
@@ -319,7 +319,7 @@ void KviThreadManager::postSlaveEvent(TQObject *o,TQEvent *e)
// on the main application thread we also can't artificially process the events.
// So the solution is to skip this algorithm when at least one
// thread is in waiting state.
- while((m_pEventQueue->count() > KVI_THREAD_MAX_EVENT_TQUEUE_LENGTH) && (m_iWaitingThreads < 1))
+ while((m_pEventQueue->count() > KVI_THREAD_MAX_EVENT_QUEUE_LENGTH) && (m_iWaitingThreads < 1))
{
// wait for the master to process the queue