atomic.cpp: remove tiny redundancy

This commit is contained in:
Nekotekina 2020-11-17 14:47:17 +03:00
parent 984e97cbdc
commit 3dd48a24ce
2 changed files with 1 additions and 4 deletions

View File

@ -746,7 +746,7 @@ namespace 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()
{

View File

@ -20,9 +20,6 @@ namespace atomic_wait
// Max number of simultaneous atomic variables to wait on (can be extended if really necessary)
constexpr uint max_list = 8;
struct root_info;
struct sema_handle;
enum class op : u8
{
eq, // Wait while value is bitwise equal to