diff options
| author | 2018-11-21 21:37:08 -0500 | |
|---|---|---|
| committer | 2018-11-21 21:37:11 -0500 | |
| commit | 1d555fdd25fd33a6b14df59dc3291905573f142c (patch) | |
| tree | de02ae222ca6e3110fa20e6f752a4e18d1f08262 /src/common/thread.h | |
| parent | Merge pull request #1753 from FernandoS27/ufbtype (diff) | |
| download | yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.tar.gz yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.tar.xz yuzu-1d555fdd25fd33a6b14df59dc3291905573f142c.zip | |
common/thread: Remove unused CurrentThreadId()
This is an old function that's no longer necessary. C++11 introduced
proper threading support to the language and a thread ID can be
retrieved via std::this_thread::get_id() if it's ever needed.
Diffstat (limited to 'src/common/thread.h')
| -rw-r--r-- | src/common/thread.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/thread.h b/src/common/thread.h index 6cbdb96a3..c20809021 100644 --- a/src/common/thread.h +++ b/src/common/thread.h | |||
| @@ -13,8 +13,6 @@ | |||
| 13 | 13 | ||
| 14 | namespace Common { | 14 | namespace Common { |
| 15 | 15 | ||
| 16 | int CurrentThreadId(); | ||
| 17 | |||
| 18 | void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask); | 16 | void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask); |
| 19 | void SetCurrentThreadAffinity(u32 mask); | 17 | void SetCurrentThreadAffinity(u32 mask); |
| 20 | 18 | ||