Scheduler: Correct yields.

This commit is contained in:
Fernando Sahmkow
2020-06-27 11:35:39 -04:00
parent 445b4342b3
commit 4217e58a10
2 changed files with 25 additions and 7 deletions
+4
View File
@@ -524,6 +524,10 @@ public:
static_cast<u32>(ThreadSchedMasks::LowMask));
}
bool IsRunnable() const {
return scheduling_state == static_cast<u32>(ThreadSchedStatus::Runnable);
}
bool IsRunning() const {
return is_running;
}