mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
Remove explicit_bool_t, ignore, multicast<>
Remove vm::ptr operator % This was a bad idea but explicit_bool_t was created almost for it Other removed types are unused and have little to no meaning
This commit is contained in:
parent
99ffc3fca9
commit
ee96807305
11 changed files with 22 additions and 91 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
|
||||
// Intrusive wait algorithm for lockable objects
|
||||
template <typename T>
|
||||
explicit_bool_t wait(T& object, u64 usec_timeout = -1)
|
||||
bool wait(T& object, u64 usec_timeout = -1)
|
||||
{
|
||||
const u32 _old = m_value.fetch_add(1); // Increment waiter counter
|
||||
object.unlock();
|
||||
|
@ -88,7 +88,7 @@ public:
|
|||
imp_unlock(1);
|
||||
}
|
||||
|
||||
explicit_bool_t wait(u64 usec_timeout = -1);
|
||||
bool wait(u64 usec_timeout = -1);
|
||||
|
||||
void notify_all()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue