summaryrefslogtreecommitdiff
path: root/src/common/thread.h
diff options
context:
space:
mode:
authorGravatar Lioncash2019-03-29 13:26:19 -0400
committerGravatar Lioncash2019-03-29 13:26:21 -0400
commit394095438ac5de4723954b1498cac8d677ddd4f5 (patch)
tree5a4f57afae68adcf398c399a167b29eb5cb8e274 /src/common/thread.h
parentMerge pull request #2284 from lioncash/heap-alloc (diff)
downloadyuzu-394095438ac5de4723954b1498cac8d677ddd4f5.tar.gz
yuzu-394095438ac5de4723954b1498cac8d677ddd4f5.tar.xz
yuzu-394095438ac5de4723954b1498cac8d677ddd4f5.zip
common/thread: Remove unused functions
Many of these functions are carried over from Dolphin (where they aren't used anymore). Given these have no use (and we really shouldn't be screwing around with OS-specific thread scheduler handling from the emulator, these can be removed. The function for setting the thread name is left, however, since it can have debugging utility usages.
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