Searched refs:sys_priority (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/contrib/gcc/
H A Dgthr-dce.h181 int sys_priority = 0; local
189 sys_priority = (PRI_FG_MIN_NP + PRI_FG_MAX_NP) / 2;
193 sys_priority = (PRI_BG_MIN_NP + PRI_BG_MAX_NP) / 2;
196 sys_priority = (PRI_BG_MIN_NP + PRI_BG_MAX_NP) / 2;
201 if (pthread_setprio (__gthrw_(pthread_self) (), sys_priority) >= 0)
212 int sys_priority; local
216 if ((sys_priority = pthread_getprio (__gthrw_(pthread_self) ())) >= 0)
218 if (sys_priority >= PRI_FG_MIN_NP
219 && sys_priority <= PRI_FG_MAX_NP)
221 if (sys_priority >
[all...]
H A Dgthr-solaris.h180 int sys_priority = 0; local
188 sys_priority = 300;
192 sys_priority = 200;
195 sys_priority = 1000;
200 if (__gthrw_(thr_setprio) (__gthrw_(thr_self) (), sys_priority) == 0)
210 int sys_priority; local
215 if (__gthrw_(thr_getprio) (__gthrw_(thr_self) (), &sys_priority) == 0)
217 if (sys_priority >= 250)
219 else if (sys_priority >= 150)
H A Dgthr-win32.h129 int sys_priority = 0; local
134 sys_priority = THREAD_PRIORITY_NORMAL;
138 sys_priority = THREAD_PRIORITY_BELOW_NORMAL;
141 sys_priority = THREAD_PRIORITY_LOWEST;
146 if (SetThreadPriority (GetCurrentThread (), sys_priority))
156 int sys_priority; local
158 sys_priority = GetThreadPriority (GetCurrentThread ());
160 switch (sys_priority)

Completed in 52 milliseconds