修正gear

This commit is contained in:
hm
2022-07-29 01:43:16 +08:00
parent 3985416e2c
commit 6ce3fdd7ac
75 changed files with 11009 additions and 1716 deletions
+4
View File
@@ -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();
}
}