atomic.hpp: simplify and unify bit test instructions

Also make them available on all platform.
Rename some rare methods.
This commit is contained in:
Nekotekina committed 2020-12-04 14:33:38 +03:00
1 parent 983439076b
commit 8efc22bd45
4 files changed
+80 -122

No files matched your search

+1 -1
View File
@@ -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;
}