diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/thread.cpp | 10 | ||||
| -rw-r--r-- | src/common/thread.h | 2 |
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 @@ | |||
| 25 | 25 | ||
| 26 | namespace Common { | 26 | namespace Common { |
| 27 | 27 | ||
| 28 | int CurrentThreadId() { | ||
| 29 | #ifdef _MSC_VER | ||
| 30 | return GetCurrentThreadId(); | ||
| 31 | #elif defined __APPLE__ | ||
| 32 | return mach_thread_self(); | ||
| 33 | #else | ||
| 34 | return 0; | ||
| 35 | #endif | ||
| 36 | } | ||
| 37 | |||
| 38 | #ifdef _WIN32 | 28 | #ifdef _WIN32 |
| 39 | // Supporting functions | 29 | // Supporting functions |
| 40 | void SleepCurrentThread(int ms) { | 30 | 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 @@ | |||
| 13 | 13 | ||
| 14 | namespace Common { | 14 | namespace Common { |
| 15 | 15 | ||
| 16 | int CurrentThreadId(); | ||
| 17 | |||
| 18 | void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask); | 16 | void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask); |
| 19 | void SetCurrentThreadAffinity(u32 mask); | 17 | void SetCurrentThreadAffinity(u32 mask); |
| 20 | 18 | ||