Searched refs:getNativePriority (Results 1 – 1 of 1) sorted by relevance
151 if (supportsThreadPriorities() && (t1.getNativePriority() != Thread.MAX_PRIORITY)) { in testThreadPriorities()152 System.out.print("thread priority for t1 was " + t1.getNativePriority() + in testThreadPriorities()159 if (supportsThreadPriorities() && (t2.getNativePriority() != Thread.MAX_PRIORITY)) { in testThreadPriorities()160 System.out.print("thread priority for t2 was " + t2.getNativePriority() + in testThreadPriorities()210 private static native int getNativePriority(); in getNativePriority() method in Main228 nativePriority = Main.getNativePriority(); in run()231 public int getNativePriority() { in getNativePriority() method in Main.PriorityStoringThread