Skip to content

Commit

Permalink
orbis-kernel: umtx: fix random hangs
Browse files Browse the repository at this point in the history
  • Loading branch information
DHrpcs3 committed Nov 14, 2024
1 parent ddad35e commit 239d554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbis-kernel/src/umtx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ uint UmtxChain::notify_n(const UmtxKey &key, sint count) {
n++;
count--;

if (it == sleep_queue.end()) {
if (it->first != key || it == sleep_queue.end()) {
break;
}
}
Expand Down

0 comments on commit 239d554

Please sign in to comment.