mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 23:50:46 +01:00
[orbis-kernel] Fix umtx_cv_wait
This commit is contained in:
parent
0bf03555ef
commit
b9e6d952ae
|
|
@ -294,7 +294,7 @@ orbis::ErrorCode orbis::umtx_cv_wait(Thread *thread, ptr<ucond> cv,
|
|||
return ErrorCode::NOSYS;
|
||||
}
|
||||
|
||||
auto [chain, key, lock] = g_context.getUmtxChain0(thread->tproc->pid, m);
|
||||
auto [chain, key, lock] = g_context.getUmtxChain0(thread->tproc->pid, cv);
|
||||
auto node = chain.enqueue(key, thread);
|
||||
|
||||
if (!cv->has_waiters.load(std::memory_order::relaxed))
|
||||
|
|
|
|||
Loading…
Reference in a new issue