mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Remove global thread counter (again)
Seems fine without it now.
This commit is contained in:
parent
490f58ff3c
commit
799c3f9708
3 changed files with 0 additions and 17 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue