diff options
| author | JosJuice <josjuice@gmail.com> | 2026-10-25 12:00:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-25 12:00:44 +0100 |
| commit | f8e6bed381f52fba6015fbda0568e447e1a984b2 (patch) | |
| tree | 4d305c64550d7ee7d44032e9cd14560e7ba8aeec /Source/Core/Common/Thread.h | |
| parent | 22b581c670d84e60d11c1b02d38e1c7789ae2dfa (diff) | |
| parent | fa108cf559250aff9d8d0ec812d5bdebf075b7b0 (diff) | |
Merge pull request #14952 from jordan-woyak/common-thread-remove-unused
Common/Thread: Remove some unused things.
Diffstat (limited to 'Source/Core/Common/Thread.h')
| -rw-r--r-- | Source/Core/Common/Thread.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Core/Common/Thread.h b/Source/Core/Common/Thread.h index fbba27a22c..07f509e22e 100644 --- a/Source/Core/Common/Thread.h +++ b/Source/Core/Common/Thread.h @@ -12,13 +12,6 @@ // Don't include Common.h here as it will break LogManager #include "Common/CommonTypes.h" -// This may not be defined outside _WIN32 -#ifndef _WIN32 -#ifndef INFINITE -#define INFINITE 0xffffffff -#endif -#endif - namespace Common { int CurrentThreadId(); @@ -27,7 +20,6 @@ void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask); void SetCurrentThreadAffinity(u32 mask); 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 |
