Automated Code Change

PiperOrigin-RevId: 877067884
This commit is contained in:
hai007
2026-03-01 12:43:43 -08:00
committed by Copybara-Service
parent 595e71a36d
commit fa530d3bec
2 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -31,7 +31,7 @@ bool TimerImpl::Start(int delay, int period,
if (period < 0) {
period = 0;
}
absl::MutexLock lock(&mutex_);
absl::MutexLock lock(mutex_);
if (internal_timer_ != nullptr) {
LOG(INFO) << "The timer is already running.";
return false;
@@ -47,7 +47,7 @@ bool TimerImpl::Start(int delay, int period,
}
void TimerImpl::Stop() {
absl::MutexLock lock(&mutex_);
absl::MutexLock lock(mutex_);
if (internal_timer_ == nullptr) {
return;
}
@@ -57,7 +57,7 @@ void TimerImpl::Stop() {
}
bool TimerImpl::IsRunning() {
absl::MutexLock lock(&mutex_);
absl::MutexLock lock(mutex_);
return (internal_timer_ != nullptr);
}