Lines Matching refs:ThreadPriority
165 void PlatformThread::SetCurrentThreadPriority(ThreadPriority priority) {
171 case ThreadPriority::NORMAL:
172 case ThreadPriority::BACKGROUND:
173 case ThreadPriority::DISPLAY:
177 case ThreadPriority::REALTIME_AUDIO:
188 ThreadPriority PlatformThread::GetCurrentThreadPriority() {
193 return ThreadPriority::NORMAL;
195 ThreadPriority thread_priority =
196 static_cast<ThreadPriority>(priority.intValue);
198 case ThreadPriority::BACKGROUND:
199 case ThreadPriority::NORMAL:
200 case ThreadPriority::DISPLAY:
201 case ThreadPriority::REALTIME_AUDIO:
205 return ThreadPriority::NORMAL;