diff --git a/orbis-kernel/src/umtx.cpp b/orbis-kernel/src/umtx.cpp index efd3e857e..308a7cca0 100644 --- a/orbis-kernel/src/umtx.cpp +++ b/orbis-kernel/src/umtx.cpp @@ -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; } }