fix rename Start as StartOn
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 2m0s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m4s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m2s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m5s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m35s
linux-x64-gcc / linux-gcc (Release) (push) Has been cancelled
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 2m0s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m4s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m2s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m5s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m35s
linux-x64-gcc / linux-gcc (Release) (push) Has been cancelled
This commit is contained in:
parent
0990783878
commit
4b87ce5219
@ -71,14 +71,14 @@ Timer::Stop()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Timer::Start(TaskQueueBase *owner)
|
Timer::StartOn(TaskQueueBase *owner)
|
||||||
{
|
{
|
||||||
SLED_ASSERT(owner != nullptr, "owner must not be nullptr");
|
SLED_ASSERT(owner != nullptr, "owner must not be nullptr");
|
||||||
owner->BlockingCall([this]() { Start(); });
|
owner->BlockingCall([this]() { Start(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Timer::Stop(TaskQueueBase *owner)
|
Timer::StopOn(TaskQueueBase *owner)
|
||||||
{
|
{
|
||||||
SLED_ASSERT(owner != nullptr, "owner must not be nullptr");
|
SLED_ASSERT(owner != nullptr, "owner must not be nullptr");
|
||||||
owner->BlockingCall([this]() { Stop(); });
|
owner->BlockingCall([this]() { Stop(); });
|
||||||
|
@ -36,8 +36,8 @@ public:
|
|||||||
void Start();
|
void Start();
|
||||||
void Stop();
|
void Stop();
|
||||||
|
|
||||||
void Start(TaskQueueBase *owner);
|
void StartOn(TaskQueueBase *owner);
|
||||||
void Stop(TaskQueueBase *owner);
|
void StopOn(TaskQueueBase *owner);
|
||||||
|
|
||||||
void set_duration(DurationMs duration) { duration_ = duration; }
|
void set_duration(DurationMs duration) { duration_ = duration; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user