mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-02 08:25:07 +01:00
thread: Fix a conditional check in Reschedule
This commit is contained in:
parent
e83bc5b7ee
commit
207087c856
@ -495,7 +495,7 @@ void Reschedule() {
|
|||||||
LOG_TRACE(Kernel, "context switch %u -> %u", cur->GetObjectId(), next->GetObjectId());
|
LOG_TRACE(Kernel, "context switch %u -> %u", cur->GetObjectId(), next->GetObjectId());
|
||||||
} else if (cur) {
|
} else if (cur) {
|
||||||
LOG_TRACE(Kernel, "context switch %u -> idle", cur->GetObjectId());
|
LOG_TRACE(Kernel, "context switch %u -> idle", cur->GetObjectId());
|
||||||
} else {
|
} else if (next) {
|
||||||
LOG_TRACE(Kernel, "context switch idle -> %u", next->GetObjectId());
|
LOG_TRACE(Kernel, "context switch idle -> %u", next->GetObjectId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user