diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-23 17:51:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-23 17:51:53 -0400 |
commit | 6b05f71b671268e15ce0fd83fd7adbef8896a491 (patch) | |
tree | 1763dadf5559f41231fc2da5842c74a32fe96f31 | |
parent | 5d9f001bb5371e4ef76ef13dba8578732341ad20 (diff) | |
parent | e0ce07aa7d7642fb6da35654256e0f7c7dd33a55 (diff) |
Merge pull request #1387 from FearlessTobi/port-4245
Port citra-emu/citra#4245: "common/thread: remove YieldCPU()"
-rw-r--r-- | src/common/thread.h | 8 |
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 |