Remove global thread counter (again)

Seems fine without it now.
This commit is contained in:
Nekotekina 2020-02-28 21:50:19 +03:00
parent 490f58ff3c
commit 799c3f9708
3 changed files with 0 additions and 17 deletions

View file

@ -171,9 +171,6 @@ class thread_ctrl final
// Target cpu core layout
static atomic_t<native_core_arrangement> g_native_core_layout;
// Global thread counter
static inline atomic_t<u64> g_thread_count = 0;
// Internal waiting function, may throw. Infinite value is -1.
static void _wait_for(u64 usec, bool alert);
@ -260,11 +257,6 @@ public:
return g_tls_this_thread;
}
static u64 get_count()
{
return g_thread_count.load();
}
// Detect layout
static void detect_cpu_layout();