mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Rename cond_one to unique_cond
Remove redundant in_cv in cellVdec
This commit is contained in:
parent
0333942795
commit
31994dd3b2
3 changed files with 8 additions and 15 deletions
|
@ -148,7 +148,7 @@ bool notifier::wait(u64 usec_timeout)
|
|||
return res;
|
||||
}
|
||||
|
||||
bool cond_one::imp_wait(u64 _timeout) noexcept
|
||||
bool unique_cond::imp_wait(u64 _timeout) noexcept
|
||||
{
|
||||
// State transition: c_sig -> c_lock \ c_lock -> c_wait
|
||||
const u32 _old = m_value.fetch_sub(1);
|
||||
|
@ -173,7 +173,7 @@ bool cond_one::imp_wait(u64 _timeout) noexcept
|
|||
});
|
||||
}
|
||||
|
||||
void cond_one::imp_notify() noexcept
|
||||
void unique_cond::imp_notify() noexcept
|
||||
{
|
||||
auto [old, ok] = m_value.fetch_op([](u32& v)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue