1

implement semaphore

This commit is contained in:
2022-07-11 15:00:05 +02:00
parent be6aeb2b11
commit 012f68838b
4 changed files with 39 additions and 1 deletions

View File

@ -181,7 +181,6 @@ void Scheduler::block() {
}
cpu.disable_int();
Thread& next = *(Thread*)this->readyQueue.dequeue();
this->dispatch(next);
}