diff options
| author | bunnei <bunneidev@gmail.com> | 2014-11-19 15:24:46 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2014-11-19 15:24:46 -0500 |
| commit | c0cd0fa78edc37795176c6fb45a52c1d015f3690 (patch) | |
| tree | 237f15dd9d986309000c995fde07088625e62239 /src/common/thread.h | |
| parent | 112768f4365816d345b0dc9b93bfecc3d41a69b5 (diff) | |
| parent | 739bb58c3a92ba94baeaa2156dc72fb7ff0ce8b7 (diff) | |
Merge pull request #211 from linkmauve/master
Remove trailing spaces from the entire project
Diffstat (limited to 'src/common/thread.h')
| -rw-r--r-- | src/common/thread.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/thread.h b/src/common/thread.h index 5e7bc1f9c..be9b5cbe2 100644 --- a/src/common/thread.h +++ b/src/common/thread.h @@ -30,7 +30,7 @@ int CurrentThreadId(); void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask); void SetCurrentThreadAffinity(u32 mask); - + class Event { public: @@ -135,7 +135,7 @@ private: const size_t m_count; volatile size_t m_waiting; }; - + void SleepCurrentThread(int ms); void SwitchCurrentThread(); // On Linux, this is equal to sleep 1ms @@ -146,7 +146,7 @@ inline void YieldCPU() { std::this_thread::yield(); } - + void SetCurrentThreadName(const char *name); - + } // namespace Common |
