summaryrefslogtreecommitdiff
path: root/src/common/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/thread.h')
-rw-r--r--src/common/thread.h8
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();
30 30
31void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask); 31void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask);
32void SetCurrentThreadAffinity(u32 mask); 32void SetCurrentThreadAffinity(u32 mask);
33 33
34class Event 34class Event
35{ 35{
36public: 36public:
@@ -135,7 +135,7 @@ private:
135 const size_t m_count; 135 const size_t m_count;
136 volatile size_t m_waiting; 136 volatile size_t m_waiting;
137}; 137};
138 138
139void SleepCurrentThread(int ms); 139void SleepCurrentThread(int ms);
140void SwitchCurrentThread(); // On Linux, this is equal to sleep 1ms 140void SwitchCurrentThread(); // On Linux, this is equal to sleep 1ms
141 141
@@ -146,7 +146,7 @@ inline void YieldCPU()
146{ 146{
147 std::this_thread::yield(); 147 std::this_thread::yield();
148} 148}
149 149
150void SetCurrentThreadName(const char *name); 150void SetCurrentThreadName(const char *name);
151 151
152} // namespace Common 152} // namespace Common