abgabe
This commit is contained in:
@@ -21,6 +21,8 @@ void IdleThread::action() {
|
||||
}
|
||||
Core::idle();
|
||||
// We woke up. Start ticking again
|
||||
dout << "idle ";
|
||||
|
||||
LAPIC::Timer::setMasked(false);
|
||||
} else {
|
||||
Core::Interrupt::enable();
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
class IdleThread : public Thread {
|
||||
public:
|
||||
explicit IdleThread() : Thread() {}
|
||||
explicit IdleThread() : Thread(true) {}
|
||||
|
||||
/*! \brief Wait for a thread to become ready and sleep in the meantime.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user