mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Kernel: Remove some commented-out code in Scheduler::yield()
This commit is contained in:
parent
7cf33a8ccb
commit
1828d9eadd
Notes:
sideshowbarker
2024-07-19 09:27:25 +09:00
Author: https://github.com/awesomekling
Commit: 1828d9eadd
1 changed files with 0 additions and 4 deletions
|
@ -457,12 +457,8 @@ bool Scheduler::yield()
|
|||
{
|
||||
InterruptDisabler disabler;
|
||||
ASSERT(current);
|
||||
// dbgprintf("%s(%u:%u) yield()\n", current->process().name().characters(), current->pid(), current->tid());
|
||||
|
||||
if (!pick_next())
|
||||
return false;
|
||||
|
||||
// dbgprintf("yield() jumping to new process: sel=%x, %s(%u:%u)\n", current->far_ptr().selector, current->process().name().characters(), current->pid(), current->tid());
|
||||
switch_now();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue