mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
Kernel: Remove some commented-out code in Scheduler::yield()
This commit is contained in:
parent
7cf33a8ccb
commit
1828d9eadd
1 changed files with 0 additions and 4 deletions
|
@ -457,12 +457,8 @@ bool Scheduler::yield()
|
||||||
{
|
{
|
||||||
InterruptDisabler disabler;
|
InterruptDisabler disabler;
|
||||||
ASSERT(current);
|
ASSERT(current);
|
||||||
// dbgprintf("%s(%u:%u) yield()\n", current->process().name().characters(), current->pid(), current->tid());
|
|
||||||
|
|
||||||
if (!pick_next())
|
if (!pick_next())
|
||||||
return false;
|
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();
|
switch_now();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue