3
0
Fork 0
forked from suyu/suyu

kernel/timer: Remove unnecessary WakeupAllWaitingThreads() override

This implementation just calls the base class variant of the function,
so this isn't necessary.
This commit is contained in:
Lioncash 2019-01-30 12:27:02 -05:00
parent 1a302d4d47
commit 4596ef5274
2 changed files with 0 additions and 6 deletions

View file

@ -66,10 +66,6 @@ void Timer::Clear() {
signaled = false; signaled = false;
} }
void Timer::WakeupAllWaitingThreads() {
WaitObject::WakeupAllWaitingThreads();
}
void Timer::Signal(int cycles_late) { void Timer::Signal(int cycles_late) {
LOG_TRACE(Kernel, "Timer {} fired", GetObjectId()); LOG_TRACE(Kernel, "Timer {} fired", GetObjectId());

View file

@ -51,8 +51,6 @@ public:
bool ShouldWait(Thread* thread) const override; bool ShouldWait(Thread* thread) const override;
void Acquire(Thread* thread) override; void Acquire(Thread* thread) override;
void WakeupAllWaitingThreads() override;
/** /**
* Starts the timer, with the specified initial delay and interval. * Starts the timer, with the specified initial delay and interval.
* @param initial Delay until the timer is first fired * @param initial Delay until the timer is first fired