mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Remove kernel Scheduler::Init().
This commit is contained in:
parent
7185cb33c7
commit
0045f18c81
3 changed files with 0 additions and 11 deletions
|
@ -53,7 +53,6 @@ static inline void ExitThread()
|
|||
}
|
||||
#endif
|
||||
|
||||
void Init();
|
||||
void Switch(struct interrupt_context* intctx);
|
||||
void SetThreadState(Thread* thread, ThreadState state);
|
||||
ThreadState GetThreadState(Thread* thread);
|
||||
|
|
|
@ -419,9 +419,6 @@ extern "C" void KernelInit(unsigned long magic, multiboot_info_t* bootinfo)
|
|||
// Initialize Unix Signals.
|
||||
Signal::Init();
|
||||
|
||||
// Initialize the scheduler.
|
||||
Scheduler::Init();
|
||||
|
||||
// Now that the base system has been loaded, it's time to go threaded. First
|
||||
// we create an object that represents this process.
|
||||
Ref<ProcessTable> ptable(new ProcessTable());
|
||||
|
|
|
@ -453,13 +453,6 @@ void ScheduleTrueThread()
|
|||
Interrupt::SetEnabled(wasenabled);
|
||||
}
|
||||
|
||||
void Init()
|
||||
{
|
||||
first_runnable_thread = NULL;
|
||||
true_current_thread = NULL;
|
||||
idle_thread = NULL;
|
||||
}
|
||||
|
||||
} // namespace Scheduler
|
||||
} // namespace Sortix
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue