mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-17 05:12:58 +00:00
Kernel: Remove some commented-out code in Scheduler::yield()
This commit is contained in:
parent
7cf33a8ccb
commit
1828d9eadd
|
@ -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…
Reference in a new issue