mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 21:38:01 +03:00
atomic.hpp: simplify and unify bit test instructions
Also make them available on all platform. Rename some rare methods.
This commit is contained in:
parent
983439076b
commit
8efc22bd45
4 changed files with 80 additions and 122 deletions
|
@ -2228,7 +2228,7 @@ void thread_ctrl::_wait_for(u64 usec, bool alert /* true */)
|
|||
}
|
||||
#endif
|
||||
|
||||
if (_this->m_sync.btr(2))
|
||||
if (_this->m_sync.bit_test_reset(2))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue