44 #ifdef DEBUG_TILECACHEQUEUE
46 #endif //DEBUG_TILECACHEQUEUE
49 #ifdef DEBUG_TILECACHEQUEUE
51 #endif //DEBUG_TILECACHEQUEUE
57 #ifdef DEBUG_TILECACHEQUEUE
58 qDebug()<<
"Wake Thread";
59 #endif //DEBUG_TILECACHEQUEUE
67 #ifdef DEBUG_TILECACHEQUEUE
68 qDebug()<<
"Start Thread";
69 #endif //DEBUG_TILECACHEQUEUE
70 this->start(QThread::NormalPriority);
75 void TileCacheQueue::run()
77 #ifdef DEBUG_TILECACHEQUEUE
78 qDebug()<<
"Cache Engine Start";
79 #endif //DEBUG_TILECACHEQUEUE
83 #ifdef DEBUG_TILECACHEQUEUE
85 #endif //DEBUG_TILECACHEQUEUE
91 #ifdef DEBUG_TILECACHEQUEUE
93 #endif //DEBUG_TILECACHEQUEUE
101 #ifdef DEBUG_TILECACHEQUEUE
102 qDebug()<<
"Cache engine BEGIN WAIT";
103 #endif //DEBUG_TILECACHEQUEUE
106 if(!waitc.wait(&waitmutex,tout))
109 #ifdef DEBUG_TILECACHEQUEUE
110 qDebug()<<
"Cache Engine TimeOut";
111 #endif //DEBUG_TILECACHEQUEUE
120 #ifdef DEBUG_TILECACHEQUEUE
121 qDebug()<<
"Cache Engine DID NOT TimeOut";
122 #endif //DEBUG_TILECACHEQUEUE
126 #ifdef DEBUG_TILECACHEQUEUE
127 qDebug()<<
"Cache Engine Stopped";
128 #endif //DEBUG_TILECACHEQUEUE