early-access version 4095

This commit is contained in:
pineappleEA
2024-01-28 20:16:36 +01:00
parent 292dc9d2a9
commit 239e2d0f9e
57 changed files with 1658 additions and 2156 deletions

View File

@@ -543,7 +543,8 @@ void KThread::Unpin() {
ASSERT(m_parent != nullptr);
// Resume any threads that began waiting on us while we were pinned.
for (auto it = m_pinned_waiter_list.begin(); it != m_pinned_waiter_list.end(); ++it) {
for (auto it = m_pinned_waiter_list.begin(); it != m_pinned_waiter_list.end();
it = m_pinned_waiter_list.erase(it)) {
it->EndWait(ResultSuccess);
}
}