mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
atomic.cpp: remove tiny redundancy
This commit is contained in:
parent
984e97cbdc
commit
3dd48a24ce
@ -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…
Reference in New Issue
Block a user