@ Implementation protected static final int getThreadPriority ( int tid ) { if ( tid == 0 ) { tid = ShadowProcess . myTid ( ) ; } synchronized ( threadPrioritiesLock ) { return threadPriorities . getOrDefault ( tid , 0 ) ; } }
Returns priority stored for the given thread .