Lines Matching refs:priority
50 * Every thread has a priority. Threads with higher priority are
51 * executed in preference to threads with lower priority. Each thread
54 * thread has its priority initially set equal to the priority of the
149 private int priority;
245 * The minimum priority that a thread can have.
250 * The default priority that is assigned to a thread.
255 * The maximum priority that a thread can have.
393 this.priority = parent.getPriority();
401 setPriority(priority);
545 * <p>The priority of the newly created thread is set equal to the
546 * priority of the thread creating it, that is, the currently running
548 * used to change the priority to a new value.
1077 * Changes the priority of this thread.
1083 * Otherwise, the priority of this thread is set to the smaller of
1085 * priority of the thread's thread group.
1087 * @param newPriority priority to set this thread to
1088 * @exception IllegalArgumentException If the priority is not in the
1110 setPriority0(priority = newPriority);
1115 * Returns this thread's priority.
1117 * @return this thread's priority.
1121 return priority;
1404 * thread's name, priority, and thread group.