Loading src/sled/timer/timer.cc +2 −2 Original line number Diff line number Diff line Loading @@ -71,14 +71,14 @@ Timer::Stop() } void Timer::Start(TaskQueueBase *owner) Timer::StartOn(TaskQueueBase *owner) { SLED_ASSERT(owner != nullptr, "owner must not be nullptr"); owner->BlockingCall([this]() { Start(); }); } void Timer::Stop(TaskQueueBase *owner) Timer::StopOn(TaskQueueBase *owner) { SLED_ASSERT(owner != nullptr, "owner must not be nullptr"); owner->BlockingCall([this]() { Stop(); }); Loading src/sled/timer/timer.h +2 −2 Original line number Diff line number Diff line Loading @@ -36,8 +36,8 @@ public: void Start(); void Stop(); void Start(TaskQueueBase *owner); void Stop(TaskQueueBase *owner); void StartOn(TaskQueueBase *owner); void StopOn(TaskQueueBase *owner); void set_duration(DurationMs duration) { duration_ = duration; } Loading Loading
src/sled/timer/timer.cc +2 −2 Original line number Diff line number Diff line Loading @@ -71,14 +71,14 @@ Timer::Stop() } void Timer::Start(TaskQueueBase *owner) Timer::StartOn(TaskQueueBase *owner) { SLED_ASSERT(owner != nullptr, "owner must not be nullptr"); owner->BlockingCall([this]() { Start(); }); } void Timer::Stop(TaskQueueBase *owner) Timer::StopOn(TaskQueueBase *owner) { SLED_ASSERT(owner != nullptr, "owner must not be nullptr"); owner->BlockingCall([this]() { Stop(); }); Loading
src/sled/timer/timer.h +2 −2 Original line number Diff line number Diff line Loading @@ -36,8 +36,8 @@ public: void Start(); void Stop(); void Start(TaskQueueBase *owner); void Stop(TaskQueueBase *owner); void StartOn(TaskQueueBase *owner); void StopOn(TaskQueueBase *owner); void set_duration(DurationMs duration) { duration_ = duration; } Loading