Searched refs:ThreadPriority (Results 1 – 14 of 14) sorted by relevance
/external/libchrome/base/threading/ |
D | platform_thread_linux.cc | 37 {ThreadPriority::BACKGROUND, 10}, 38 {ThreadPriority::NORMAL, 0}, 39 {ThreadPriority::DISPLAY, -6}, 40 {ThreadPriority::REALTIME_AUDIO, -10}, 43 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority) { in SetCurrentThreadPriorityForPlatform() 45 ThreadPriority current_priority; in SetCurrentThreadPriorityForPlatform() 46 if (priority != ThreadPriority::REALTIME_AUDIO && in SetCurrentThreadPriorityForPlatform() 48 current_priority == ThreadPriority::REALTIME_AUDIO) { in SetCurrentThreadPriorityForPlatform() 55 return priority == ThreadPriority::REALTIME_AUDIO && in SetCurrentThreadPriorityForPlatform() 62 bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority) { in GetCurrentThreadPriorityForPlatform() [all …]
|
D | platform_thread_posix.cc | 40 : delegate(NULL), joinable(false), priority(ThreadPriority::NORMAL) {} in ThreadParams() 44 ThreadPriority priority; 59 if (thread_params->priority != ThreadPriority::NORMAL) in ThreadFunc() 81 ThreadPriority priority) { in CreateThread() 186 ThreadPriority priority) { in CreateWithPriority() 196 delegate, &unused, ThreadPriority::NORMAL); in CreateNonJoinable() 213 void PlatformThread::SetCurrentThreadPriority(ThreadPriority priority) { in SetCurrentThreadPriority() 235 ThreadPriority PlatformThread::GetCurrentThreadPriority() { in GetCurrentThreadPriority() 238 return ThreadPriority::NORMAL; in GetCurrentThreadPriority() 241 ThreadPriority platform_specific_priority; in GetCurrentThreadPriority() [all …]
|
D | platform_thread_internal_posix.h | 15 ThreadPriority priority; 22 int ThreadPriorityToNiceValue(ThreadPriority priority); 26 ThreadPriority NiceValueToThreadPriority(int nice_value); 32 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority); 37 bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority);
|
D | platform_thread.h | 102 enum class ThreadPriority { enum 164 ThreadPriority::NORMAL); in Create() 171 ThreadPriority priority); 189 static void SetCurrentThreadPriority(ThreadPriority priority); 191 static ThreadPriority GetCurrentThreadPriority();
|
D | simple_thread.h | 63 Options() : stack_size_(0), priority_(ThreadPriority::NORMAL) {} in Options() 64 explicit Options(ThreadPriority priority) in Options() 75 void set_priority(ThreadPriority priority) { priority_ = priority; } in set_priority() 76 ThreadPriority priority() const { return priority_; } in priority() 79 ThreadPriority priority_;
|
D | platform_thread_unittest.cc | 192 const ThreadPriority kThreadPriorityTestValues[] = { 198 ThreadPriority::REALTIME_AUDIO, 200 ThreadPriority::DISPLAY, 203 ThreadPriority::BACKGROUND, 204 ThreadPriority::NORMAL, 205 ThreadPriority::BACKGROUND}; 226 EXPECT_EQ(ThreadPriority::NORMAL, in RunTest()
|
D | platform_thread_internal_posix.cc | 13 int ThreadPriorityToNiceValue(ThreadPriority priority) { in ThreadPriorityToNiceValue() 23 ThreadPriority NiceValueToThreadPriority(int nice_value) { in NiceValueToThreadPriority() 30 return ThreadPriority::NORMAL; in NiceValueToThreadPriority()
|
D | platform_thread_mac.mm | 160 void PlatformThread::SetCurrentThreadPriority(ThreadPriority priority) { 166 case ThreadPriority::NORMAL: 169 case ThreadPriority::REALTIME_AUDIO: 179 ThreadPriority PlatformThread::GetCurrentThreadPriority() { 181 return ThreadPriority::NORMAL;
|
D | thread.cc | 43 priority(ThreadPriority::NORMAL) { in Options() 51 priority(ThreadPriority::NORMAL) { in Options()
|
D | thread.h | 69 ThreadPriority priority;
|
D | simple_thread.cc | 33 if (options_.priority() == ThreadPriority::NORMAL) { in Start()
|
/external/webrtc/webrtc/base/ |
D | platform_thread.h | 38 enum ThreadPriority { enum 72 bool SetPriority(ThreadPriority priority);
|
D | platform_thread.cc | 196 bool PlatformThread::SetPriority(ThreadPriority priority) { in SetPriority()
|
/external/libchrome/sandbox/win/src/ |
D | nt_internals.h | 281 ThreadPriority, enumerator
|