fix TimerManager cpu=100%
Some checks failed
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m4s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m6s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m11s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m16s
linux-x64-gcc / linux-gcc (push) Failing after 1m12s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 1m27s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m45s

This commit is contained in:
tqcq 2024-03-05 11:39:43 +08:00
parent b3be681351
commit 5606fb39e0

View File

@ -99,7 +99,7 @@ TimerManager::Loop()
{ {
while (!stopped_) { while (!stopped_) {
// ULOG_TRACE("system.timer_manager", "now: {}", TimeNowInMicroSeconds()); // ULOG_TRACE("system.timer_manager", "now: {}", TimeNowInMicroSeconds());
// Thread::Sleep(3000000); Thread::Sleep(1);
MutexGuard timers_guard(timers_lock_); MutexGuard timers_guard(timers_lock_);
// add timer // add timer
{ {