summaryrefslogtreecommitdiff
path: root/src/common/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/thread.cpp')
-rw-r--r--src/common/thread.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/common/thread.cpp b/src/common/thread.cpp
index a7267b637..4bcb65236 100644
--- a/src/common/thread.cpp
+++ b/src/common/thread.cpp
@@ -25,13 +25,6 @@
25 25
26namespace Common { 26namespace Common {
27 27
28#ifdef _WIN32
29// Supporting functions
30void SleepCurrentThread(int ms) {
31 Sleep(ms);
32}
33#endif
34
35#ifdef _MSC_VER 28#ifdef _MSC_VER
36 29
37void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask) { 30void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask) {
@@ -97,10 +90,6 @@ void SetCurrentThreadAffinity(u32 mask) {
97} 90}
98 91
99#ifndef _WIN32 92#ifndef _WIN32
100void SleepCurrentThread(int ms) {
101 usleep(1000 * ms);
102}
103
104void SwitchCurrentThread() { 93void SwitchCurrentThread() {
105 usleep(1000 * 1); 94 usleep(1000 * 1);
106} 95}