Lines Matching refs:Param
808 struct sched_param Param; in osl_setThreadPriority() local
824 if (pthread_getschedparam(pImpl->m_hThread, &policy, &Param) != 0) in osl_setThreadPriority()
842 Param.sched_priority= g_thread.m_priority.m_Highest; in osl_setThreadPriority()
846 Param.sched_priority= g_thread.m_priority.m_Above_Normal; in osl_setThreadPriority()
850 Param.sched_priority= g_thread.m_priority.m_Normal; in osl_setThreadPriority()
854 Param.sched_priority= g_thread.m_priority.m_Below_Normal; in osl_setThreadPriority()
858 Param.sched_priority= g_thread.m_priority.m_Lowest; in osl_setThreadPriority()
875 if ((nRet = pthread_setschedparam(pImpl->m_hThread, policy, &Param)) != 0) in osl_setThreadPriority()
890 struct sched_param Param; in osl_getThreadPriority() local
904 if (pthread_getschedparam(pImpl->m_hThread, &Policy, &Param) != 0) in osl_getThreadPriority()
910 if (Param.sched_priority==g_thread.m_priority.m_Highest) in osl_getThreadPriority()
915 else if (Param.sched_priority > g_thread.m_priority.m_Normal) in osl_getThreadPriority()
920 else if (Param.sched_priority == g_thread.m_priority.m_Normal) in osl_getThreadPriority()
925 else if (Param.sched_priority > g_thread.m_priority.m_Lowest) in osl_getThreadPriority()
930 else if (Param.sched_priority == g_thread.m_priority.m_Lowest) in osl_getThreadPriority()