Lines Matching refs:priority
85 static PRUint32 _bt_MapNSPRToNativePriority( PRThreadPriority priority );
86 static PRThreadPriority _bt_MapNativeToNSPRPriority( PRUint32 priority );
91 _PR_InitThreads (PRThreadType type, PRThreadPriority priority,
119 ** Set the priority to the desired level.
122 beThreadPriority = _bt_MapNSPRToNativePriority( priority );
126 primordialThread->priority = priority;
159 _bt_MapNSPRToNativePriority( PRThreadPriority priority )
161 switch( priority )
172 _bt_MapNativeToNSPRPriority(PRUint32 priority)
174 if (priority < B_NORMAL_PRIORITY)
176 if (priority < B_DISPLAY_PRIORITY)
178 if (priority < B_URGENT_DISPLAY_PRIORITY)
184 _bt_mapNativeToNSPRPriority( int32 priority )
186 switch( priority )
291 PRThreadPriority priority, PRThreadScope scope,
311 thred->priority = priority;
329 bePriority = _bt_MapNSPRToNativePriority( priority );
349 PR_AttachThread(PRThreadType type, PRThreadPriority priority,
463 return thred->priority;
473 thred->priority = newPri;
675 thread->priority = _bt_MapNativeToNSPRPriority(tInfo.priority);