summaryrefslogtreecommitdiffstats
path: root/src/common/thread.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-22 03:40:08 +0100
committerLioncash <mathew1800@gmail.com>2018-11-22 03:40:11 +0100
commitd6583d68f630f3bd9a5626ab0fc24f2027ddd50a (patch)
tree5b3adda2620a1d81e31ac416a5f53573f7a6c0ac /src/common/thread.cpp
parentcommon/thread: Remove unused CurrentThreadId() (diff)
downloadyuzu-d6583d68f630f3bd9a5626ab0fc24f2027ddd50a.tar
yuzu-d6583d68f630f3bd9a5626ab0fc24f2027ddd50a.tar.gz
yuzu-d6583d68f630f3bd9a5626ab0fc24f2027ddd50a.tar.bz2
yuzu-d6583d68f630f3bd9a5626ab0fc24f2027ddd50a.tar.lz
yuzu-d6583d68f630f3bd9a5626ab0fc24f2027ddd50a.tar.xz
yuzu-d6583d68f630f3bd9a5626ab0fc24f2027ddd50a.tar.zst
yuzu-d6583d68f630f3bd9a5626ab0fc24f2027ddd50a.zip
Diffstat (limited to '')
-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 @@
namespace Common {
-#ifdef _WIN32
-// Supporting functions
-void SleepCurrentThread(int ms) {
- Sleep(ms);
-}
-#endif
-
#ifdef _MSC_VER
void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask) {
@@ -97,10 +90,6 @@ void SetCurrentThreadAffinity(u32 mask) {
}
#ifndef _WIN32
-void SleepCurrentThread(int ms) {
- usleep(1000 * ms);
-}
-
void SwitchCurrentThread() {
usleep(1000 * 1);
}