summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-22 03:37:08 +0100
committerLioncash <mathew1800@gmail.com>2018-11-22 03:37:11 +0100
commit1d555fdd25fd33a6b14df59dc3291905573f142c (patch)
treede02ae222ca6e3110fa20e6f752a4e18d1f08262
parentMerge pull request #1753 from FernandoS27/ufbtype (diff)
downloadyuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.tar
yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.tar.gz
yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.tar.bz2
yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.tar.lz
yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.tar.xz
yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.tar.zst
yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.zip
-rw-r--r--src/common/thread.cpp10
-rw-r--r--src/common/thread.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/src/common/thread.cpp b/src/common/thread.cpp
index 9e207118f..a7267b637 100644
--- a/src/common/thread.cpp
+++ b/src/common/thread.cpp
@@ -25,16 +25,6 @@
namespace Common {
-int CurrentThreadId() {
-#ifdef _MSC_VER
- return GetCurrentThreadId();
-#elif defined __APPLE__
- return mach_thread_self();
-#else
- return 0;
-#endif
-}
-
#ifdef _WIN32
// Supporting functions
void SleepCurrentThread(int ms) {
diff --git a/src/common/thread.h b/src/common/thread.h
index 6cbdb96a3..c20809021 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -13,8 +13,6 @@
namespace Common {
-int CurrentThreadId();
-
void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask);
void SetCurrentThreadAffinity(u32 mask);