mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
sys_rwlock...
This commit is contained in:
parent
0674a58502
commit
c4cc3ad81e
4 changed files with 267 additions and 143 deletions
|
|
@ -149,7 +149,9 @@ void KernelExplorer::Update()
|
|||
case SYS_RWLOCK_OBJECT:
|
||||
{
|
||||
auto& rw = static_cast<lv2_rwlock&>(obj);
|
||||
m_tree->AppendItem(node, fmt::format("RW Lock: ID = 0x%08x", id));
|
||||
const s64 val = rw.owner;
|
||||
m_tree->AppendItem(node, fmt::format("RW Lock: ID = 0x%08x \"%s\", Owner = 0x%x(%d), Rq = %zu, Wq = %zu", id, +name64(rw.name),
|
||||
std::max<s64>(0, val >> 1), -std::min<s64>(0, val >> 1), rw.rq.size(), rw.wq.size()));
|
||||
break;
|
||||
}
|
||||
case SYS_INTR_TAG_OBJECT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue