mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 13:15:45 +00:00
Scheduler: Correct yields.
This commit is contained in:
parent
d9a0ea22bf
commit
5183094c24
2 changed files with 25 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue