summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2018-09-22 06:32:19 +0200
committerfearlessTobi <thm.frey@gmail.com>2018-09-22 23:27:42 +0200
commite0ce07aa7d7642fb6da35654256e0f7c7dd33a55 (patch)
tree850b7d8234a21e2663666730adca172b32b3581f /src
parentMerge pull request #1386 from jroweboy/oops (diff)
downloadyuzu-e0ce07aa7d7642fb6da35654256e0f7c7dd33a55.tar
yuzu-e0ce07aa7d7642fb6da35654256e0f7c7dd33a55.tar.gz
yuzu-e0ce07aa7d7642fb6da35654256e0f7c7dd33a55.tar.bz2
yuzu-e0ce07aa7d7642fb6da35654256e0f7c7dd33a55.tar.lz
yuzu-e0ce07aa7d7642fb6da35654256e0f7c7dd33a55.tar.xz
yuzu-e0ce07aa7d7642fb6da35654256e0f7c7dd33a55.tar.zst
yuzu-e0ce07aa7d7642fb6da35654256e0f7c7dd33a55.zip
Diffstat (limited to '')
-rw-r--r--src/common/thread.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/thread.h b/src/common/thread.h
index 12a1c095c..6cbdb96a3 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -87,14 +87,6 @@ private:
void SleepCurrentThread(int ms);
void SwitchCurrentThread(); // On Linux, this is equal to sleep 1ms
-
-// Use this function during a spin-wait to make the current thread
-// relax while another thread is working. This may be more efficient
-// than using events because event functions use kernel calls.
-inline void YieldCPU() {
- std::this_thread::yield();
-}
-
void SetCurrentThreadName(const char* name);
} // namespace Common