mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Improve cond_var notifiers
But nobody uses it anyway, so clean up includes.
This commit is contained in:
parent
7d56069243
commit
34fa010601
20 changed files with 69 additions and 71 deletions
|
@ -50,10 +50,10 @@ void cond_variable::imp_wake(u32 _count) noexcept
|
|||
if (_count > 1 || ((_old + (c_signal_mask & (0 - c_signal_mask))) & c_signal_mask) == c_signal_mask)
|
||||
{
|
||||
// Resort to notify_all if signal count reached max
|
||||
m_value.notify_all();
|
||||
m_value.notify_all(c_signal_mask);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_value.notify_one();
|
||||
m_value.notify_one(c_signal_mask);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue