mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Typo
This commit is contained in:
parent
6d11b62fd8
commit
62ded83a9b
@ -318,7 +318,7 @@ namespace Tasking
|
|||||||
__no_stack_protector void Task::Schedule(CPU::x64::TrapFrame *Frame)
|
__no_stack_protector void Task::Schedule(CPU::x64::TrapFrame *Frame)
|
||||||
{
|
{
|
||||||
SmartCriticalSection(SchedulerLock);
|
SmartCriticalSection(SchedulerLock);
|
||||||
if (StopSheduler)
|
if (StopScheduler)
|
||||||
{
|
{
|
||||||
warn("Scheduler stopped.");
|
warn("Scheduler stopped.");
|
||||||
return;
|
return;
|
||||||
|
@ -213,11 +213,11 @@ namespace Tasking
|
|||||||
void Schedule(void *Frame);
|
void Schedule(void *Frame);
|
||||||
void OnInterruptReceived(void *Frame);
|
void OnInterruptReceived(void *Frame);
|
||||||
#endif
|
#endif
|
||||||
bool StopSheduler = false;
|
bool StopScheduler = false;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Vector<PCB *> GetProcessList() { return ListProcess; }
|
Vector<PCB *> GetProcessList() { return ListProcess; }
|
||||||
void Panic() { StopSheduler = true; }
|
void Panic() { StopScheduler = true; }
|
||||||
void Schedule();
|
void Schedule();
|
||||||
long GetUsage(int Core) { return 100 - IdleProcess->Info.Usage[Core]; }
|
long GetUsage(int Core) { return 100 - IdleProcess->Info.Usage[Core]; }
|
||||||
void KillThread(TCB *tcb, int Code)
|
void KillThread(TCB *tcb, int Code)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user