Kernel: replace usage of Core::System::GetInstance().PrepareReschedule() with callback
This commit is contained in:
parent
eb050b8403
commit
20f47583f6
9 changed files with 25 additions and 13 deletions
|
@ -224,7 +224,7 @@ void Thread::ResumeFromWait() {
|
|||
|
||||
thread_manager.ready_queue.push_back(current_priority, this);
|
||||
status = ThreadStatus::Ready;
|
||||
Core::System::GetInstance().PrepareReschedule();
|
||||
thread_manager.kernel.PrepareReschedule();
|
||||
}
|
||||
|
||||
void ThreadManager::DebugThreadQueue() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue