diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-10-25 01:26:26 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2026-10-25 01:34:41 -0500 |
| commit | d7c0fdebad493f3244aebfcab9e38a24f6594bde (patch) | |
| tree | 04d0def016ea7cad6329349af43d0d0ddf464b41 /Source/Core/Common/Thread.cpp | |
| parent | 22b581c670d84e60d11c1b02d38e1c7789ae2dfa (diff) | |
Common/Thread: Remove unused SwitchCurrentThread function.
Diffstat (limited to 'Source/Core/Common/Thread.cpp')
| -rw-r--r-- | Source/Core/Common/Thread.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/Core/Common/Thread.cpp b/Source/Core/Common/Thread.cpp index d9a40fc6b5..8f8f691fc1 100644 --- a/Source/Core/Common/Thread.cpp +++ b/Source/Core/Common/Thread.cpp @@ -62,11 +62,6 @@ void SleepCurrentThread(int ms) Sleep(ms); } -void SwitchCurrentThread() -{ - SwitchToThread(); -} - // Sets the debugger-visible name of the current thread. // Uses trick documented in: // https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-set-a-thread-name-in-native-code @@ -161,11 +156,6 @@ void SleepCurrentThread(int ms) usleep(1000 * ms); } -void SwitchCurrentThread() -{ - usleep(1000 * 1); -} - void SetCurrentThreadName(const char* name) { #ifdef __APPLE__ |
