Lines Matching refs:parent

36  * has a parent.
40 * parent thread group or any other thread groups.
58 private final ThreadGroup parent;
79 this.parent = null;
83 * Constructs a new thread group. The parent of this new group is
86 * The <code>checkAccess</code> method of the parent thread group is
100 * Creates a new thread group. The parent of this new group is the
103 * The <code>checkAccess</code> method of the parent thread group is
106 * @param parent the parent thread group.
116 public ThreadGroup(ThreadGroup parent, String name) {
117 this(checkParentAccess(parent), parent, name);
120 private ThreadGroup(Void unused, ThreadGroup parent, String name) {
122 this.maxPriority = parent.maxPriority;
123 this.daemon = parent.daemon;
124 this.vmAllowSuspension = parent.vmAllowSuspension;
125 this.parent = parent;
126 parent.add(this);
130 * @throws NullPointerException if the parent argument is {@code null}
134 private static Void checkParentAccess(ThreadGroup parent) {
135 parent.checkAccess();
150 * Returns the parent of this thread group.
152 * First, if the parent is not <code>null</code>, the
153 * <code>checkAccess</code> method of the parent thread group is
156 * @return the parent of this thread group. The top-level thread group
157 * is the only thread group whose parent is <code>null</code>.
166 if (parent != null)
167 parent.checkAccess();
168 return parent;
245 * priority of the parent of this thread group. (If this thread group
246 * is the system thread group, which has no parent, then its maximum
267 maxPriority = (parent != null) ? Math.min(pri, parent.maxPriority) : pri;
291 for (; g != null ; g = g.parent) {
783 if (parent != null) {
794 if (parent != null) {
795 parent.remove(this);
1024 * <li>If this thread group has a parent thread group, the
1025 * <code>uncaughtException</code> method of that parent is called
1051 if (parent != null) {
1052 parent.uncaughtException(t, e);