mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
atomic.cpp: remove tiny redundancy
This commit is contained in:
parent
984e97cbdc
commit
3dd48a24ce
2 changed files with 1 additions and 4 deletions
|
@ -746,7 +746,7 @@ namespace atomic_wait
|
||||||
}
|
}
|
||||||
|
|
||||||
// Main hashtable for atomic wait.
|
// Main hashtable for atomic wait.
|
||||||
alignas(64) static atomic_wait::root_info s_hashtable[s_hashtable_size]{};
|
static atomic_wait::root_info s_hashtable[s_hashtable_size]{};
|
||||||
|
|
||||||
u64 atomic_wait::get_unique_tsc()
|
u64 atomic_wait::get_unique_tsc()
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,9 +20,6 @@ namespace atomic_wait
|
||||||
// Max number of simultaneous atomic variables to wait on (can be extended if really necessary)
|
// Max number of simultaneous atomic variables to wait on (can be extended if really necessary)
|
||||||
constexpr uint max_list = 8;
|
constexpr uint max_list = 8;
|
||||||
|
|
||||||
struct root_info;
|
|
||||||
struct sema_handle;
|
|
||||||
|
|
||||||
enum class op : u8
|
enum class op : u8
|
||||||
{
|
{
|
||||||
eq, // Wait while value is bitwise equal to
|
eq, // Wait while value is bitwise equal to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue