Lines Matching refs:g_thread
108 static struct osl_thread_global_st g_thread = variable
754 g_thread.m_priority.m_Lowest=nRet; in osl_thread_priority_init_Impl()
766 g_thread.m_priority.m_Highest=nRet; in osl_thread_priority_init_Impl()
775 g_thread.m_priority.m_Normal = in osl_thread_priority_init_Impl()
776 (g_thread.m_priority.m_Lowest + g_thread.m_priority.m_Highest) / 2; in osl_thread_priority_init_Impl()
777 g_thread.m_priority.m_Below_Normal = in osl_thread_priority_init_Impl()
778 (g_thread.m_priority.m_Lowest + g_thread.m_priority.m_Normal) / 2; in osl_thread_priority_init_Impl()
779 g_thread.m_priority.m_Above_Normal = in osl_thread_priority_init_Impl()
780 (g_thread.m_priority.m_Normal + g_thread.m_priority.m_Highest) / 2; in osl_thread_priority_init_Impl()
784 param.sched_priority= g_thread.m_priority.m_Normal; in osl_thread_priority_init_Impl()
838 pthread_once (&(g_thread.m_once), osl_thread_init_Impl); 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()
908 pthread_once (&(g_thread.m_once), osl_thread_init_Impl); 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()
993 pthread_key_create (&(g_thread.m_textencoding.m_key), NULL); in osl_thread_textencoding_init_Impl()
1012 g_thread.m_textencoding.m_default = defaultEncoding; in osl_thread_textencoding_init_Impl()
1022 pthread_once (&(g_thread.m_once), osl_thread_init_Impl); in osl_getThreadTextEncoding()
1027 (sal_uIntPtr) pthread_getspecific(g_thread.m_textencoding.m_key)); in osl_getThreadTextEncoding()
1029 threadEncoding = g_thread.m_textencoding.m_default; in osl_getThreadTextEncoding()
1043 g_thread.m_textencoding.m_key, in osl_setThreadTextEncoding()