diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 02:36:47 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 20:47:56 +0200 |
commit | 99ea7efe29f8d69ca3c962f48193cf14e1042740 (patch) | |
tree | dcc1fa31cecd7a87bfc5912f0db3a62a7c73a99a /src/kvilib/system/kvi_thread.cpp | |
parent | 87b1dc91bd0bc063f90032d3d4902cee1c9bedfe (diff) | |
download | kvirc-99ea7efe29f8d69ca3c962f48193cf14e1042740.tar.gz kvirc-99ea7efe29f8d69ca3c962f48193cf14e1042740.zip |
Fix inadvertent "TQ" changes.
(cherry picked from commit a24a8595fc6663038f6ce26cfed6276910eef984)
Diffstat (limited to 'src/kvilib/system/kvi_thread.cpp')
-rw-r--r-- | src/kvilib/system/kvi_thread.cpp | 4 |
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 |