Implement GetIdle function in Custom scheduler

This commit is contained in:
EnderIce2
2024-03-02 00:16:18 +02:00
parent df457e8097
commit 525a102f20
2 changed files with 11 additions and 0 deletions

View File

@ -252,6 +252,11 @@ namespace Tasking::Scheduler
this->ProcessList.remove(pcb);
}
std::pair<PCB *, TCB *> Custom::GetIdle()
{
return std::make_pair(IdleProcess, IdleThread);
}
/* --------------------------------------------------------------- */
nsa void Custom::OneShot(int TimeSlice)