diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-29 13:26:19 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-29 13:26:21 -0400 |
commit | 394095438ac5de4723954b1498cac8d677ddd4f5 (patch) | |
tree | 5a4f57afae68adcf398c399a167b29eb5cb8e274 /src/common/thread.h | |
parent | 16dc3a1dd5b3a8a70de833aa1da98fc6ed8bacce (diff) |
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.h | 4 |
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 @@ #include <cstddef> #include <mutex> #include <thread> -#include "common/common_types.h" namespace Common { @@ -78,9 +77,6 @@ private: std::size_t generation = 0; // Incremented once each time the barrier is used }; -void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask); -void SetCurrentThreadAffinity(u32 mask); -void SwitchCurrentThread(); // On Linux, this is equal to sleep 1ms void SetCurrentThreadName(const char* name); } // namespace Common |