kernel: scheduler: Minor cleanup to remove duplicated code.
This commit is contained in:
parent
b7ef581c6e
commit
4b9e1b6586
2 changed files with 14 additions and 46 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue