修正gear
This commit is contained in:
@@ -87,7 +87,9 @@ void TileCacheQueue::run()
|
||||
usleep(44);
|
||||
delete task;
|
||||
} else {
|
||||
#ifdef DEBUG_TILECACHEQUEUE
|
||||
qDebug() << "Cache engine BEGIN WAIT";
|
||||
#endif // DEBUG_TILECACHEQUEUE
|
||||
waitmutex.lock();
|
||||
int tout = 4000;
|
||||
if (!waitc.wait(&waitmutex, tout)) {
|
||||
@@ -102,7 +104,9 @@ void TileCacheQueue::run()
|
||||
}
|
||||
mutex.unlock();
|
||||
}
|
||||
#ifdef DEBUG_TILECACHEQUEUE
|
||||
qDebug() << "Cache Engine DID NOT TimeOut";
|
||||
#endif // DEBUG_TILECACHEQUEUE
|
||||
waitmutex.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user