summaryrefslogtreecommitdiff
path: root/src/common/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2019-03-30 20:10:32 -0400
committerGravatar GitHub2019-03-30 20:10:32 -0400
commita89266bc5e98ba840ed11a9080fa9c85cc8f2cba (patch)
treef2581f9f4af0f0f5ecd4c6d40e83f1bd7b8a5d3c /src/common/thread.h
parentMerge pull request #2297 from lioncash/reorder (diff)
parentcommon/thread: Remove unused functions (diff)
downloadyuzu-a89266bc5e98ba840ed11a9080fa9c85cc8f2cba.tar.gz
yuzu-a89266bc5e98ba840ed11a9080fa9c85cc8f2cba.tar.xz
yuzu-a89266bc5e98ba840ed11a9080fa9c85cc8f2cba.zip
Merge pull request #2303 from lioncash/thread
common/thread: Remove unused functions
Diffstat (limited to 'src/common/thread.h')
-rw-r--r--src/common/thread.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/thread.h b/src/common/thread.h
index 2cf74452d..c5fc3533d 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -9,7 +9,6 @@
9#include <cstddef> 9#include <cstddef>
10#include <mutex> 10#include <mutex>
11#include <thread> 11#include <thread>
12#include "common/common_types.h"
13 12
14namespace Common { 13namespace Common {
15 14
@@ -78,9 +77,6 @@ private:
78 std::size_t generation = 0; // Incremented once each time the barrier is used 77 std::size_t generation = 0; // Incremented once each time the barrier is used
79}; 78};
80 79
81void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask);
82void SetCurrentThreadAffinity(u32 mask);
83void SwitchCurrentThread(); // On Linux, this is equal to sleep 1ms
84void SetCurrentThreadName(const char* name); 80void SetCurrentThreadName(const char* name);
85 81
86} // namespace Common 82} // namespace Common