Home
last modified time | relevance | path

Searched refs:nice_setting (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/threading/
Dplatform_thread_linux.cc162 const int nice_setting = internal::ThreadPriorityToNiceValue(priority); in SetThreadPriority() local
163 if (setpriority(PRIO_PROCESS, thread_id, nice_setting)) { in SetThreadPriority()
165 << nice_setting; in SetThreadPriority()
Dplatform_thread_posix.cc268 const int nice_setting = internal::ThreadPriorityToNiceValue(priority); in SetCurrentThreadPriority()
269 if (setpriority(PRIO_PROCESS, 0, nice_setting)) { in SetCurrentThreadPriority()
271 << PlatformThread::CurrentId() << ") to " << nice_setting; in SetCurrentThreadPriority()