Lines Matching refs:Param
809 struct sched_param Param; in osl_setThreadPriority() local
825 if (pthread_getschedparam(pImpl->m_hThread, &policy, &Param) != 0) in osl_setThreadPriority()
843 Param.sched_priority= g_thread.m_priority.m_Highest; in osl_setThreadPriority()
847 Param.sched_priority= g_thread.m_priority.m_Above_Normal; in osl_setThreadPriority()
851 Param.sched_priority= g_thread.m_priority.m_Normal; in osl_setThreadPriority()
855 Param.sched_priority= g_thread.m_priority.m_Below_Normal; in osl_setThreadPriority()
859 Param.sched_priority= g_thread.m_priority.m_Lowest; in osl_setThreadPriority()
876 if ((nRet = pthread_setschedparam(pImpl->m_hThread, policy, &Param)) != 0) in osl_setThreadPriority()
891 struct sched_param Param; in osl_getThreadPriority() local
905 if (pthread_getschedparam(pImpl->m_hThread, &Policy, &Param) != 0) in osl_getThreadPriority()
911 if (Param.sched_priority==g_thread.m_priority.m_Highest) in osl_getThreadPriority()
916 else if (Param.sched_priority > g_thread.m_priority.m_Normal) in osl_getThreadPriority()
921 else if (Param.sched_priority == g_thread.m_priority.m_Normal) in osl_getThreadPriority()
926 else if (Param.sched_priority > g_thread.m_priority.m_Lowest) in osl_getThreadPriority()
931 else if (Param.sched_priority == g_thread.m_priority.m_Lowest) in osl_getThreadPriority()