HomeSort by relevance Sort by last modified time
    Searched refs:maxPrio (Results 1 - 2 of 2) sorted by null

  /external/webrtc/src/system_wrappers/source/
thread_posix.cc 203 const int maxPrio = sched_get_priority_max(policy);
204 if ((minPrio == EINVAL) || (maxPrio == EINVAL))
215 param.sched_priority = (minPrio + maxPrio) / 2;
218 param.sched_priority = maxPrio - 3;
221 param.sched_priority = maxPrio - 2;
224 param.sched_priority = maxPrio - 1;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ThreadGroupTest.java 540 // Create some groups, nested some levels. Each level will have maxPrio
550 // Now we walk the levels down, changing the maxPrio and later verifying
551 // that the value is indeed 1 unit smaller than the parent's maxPrio.
552 int maxPrio, parentMaxPrio;
562 maxPrio = current.getMaxPriority();
571 maxPrio == parentMaxPrio - 1);
572 current.setMaxPriority(maxPrio - 1);
577 .getMaxPriority() == maxPrio - 1);

Completed in 102 milliseconds