Searched refs:nice_setting (Results 1 – 2 of 2) sorted by relevance
162 const int nice_setting = internal::ThreadPriorityToNiceValue(priority); in SetThreadPriority() local163 if (setpriority(PRIO_PROCESS, thread_id, nice_setting)) { in SetThreadPriority()165 << nice_setting; in SetThreadPriority()
268 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()