mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
atomic.cpp: add sparse atomics
Set alignment as second template argument (typically cache line).
This commit is contained in:
parent
130a0ef20e
commit
d344701fd5
4 changed files with 11 additions and 11 deletions
|
@ -242,7 +242,7 @@ namespace fmt
|
|||
const fmt_type_info* get_type_info();
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
template <typename T, std::size_t Align>
|
||||
class atomic_t;
|
||||
|
||||
// Extract T::simple_type if available, remove cv qualifiers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue