Home
last modified time | relevance | path

Searched refs:pri (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DThreadGroup.java266 public final void setMaxPriority(int pri) { in setMaxPriority() argument
275 if (pri < Thread.MIN_PRIORITY) { in setMaxPriority()
276 pri = Thread.MIN_PRIORITY; in setMaxPriority()
278 if (pri > Thread.MAX_PRIORITY) { in setMaxPriority()
279 pri = Thread.MAX_PRIORITY; in setMaxPriority()
282 maxPriority = (parent != null) ? Math.min(pri, parent.maxPriority) : pri; in setMaxPriority()
291 groupsSnapshot[i].setMaxPriority(pri); in setMaxPriority()