kernel: scheduler: Minor cleanup to remove duplicated code.

This commit is contained in:
bunnei 2020-11-18 16:52:47 -08:00
parent b7ef581c6e
commit 4b9e1b6586
2 changed files with 14 additions and 46 deletions

View file

@ -212,8 +212,10 @@ public:
/// The next two are for SingleCore Only.
/// Unload current thread before preempting core.
void Unload(Thread* thread);
void Unload();
/// Reload current thread after core preemption.
void Reload(Thread* thread);
void Reload();
/// Gets the current running thread