MCPcopy Create free account
hub / github.com/ReadyTalk/avian / ThreadGroup

Method ThreadGroup

classpath/java/lang/ThreadGroup.java:20–27  ·  view source on GitHub ↗
(ThreadGroup parent, String name)

Source from the content-addressed store, hash-verified

18 private Cell<ThreadGroup> subgroups;
19
20 public ThreadGroup(ThreadGroup parent, String name) {
21 this.parent = parent;
22 this.name = name;
23
24 synchronized (parent) {
25 parent.subgroups = new Cell(this, subgroups);
26 }
27 }
28
29 public ThreadGroup(String name) {
30 this(Thread.currentThread().getThreadGroup(), name);

Callers

nothing calls this directly

Calls 2

currentThreadMethod · 0.95
getThreadGroupMethod · 0.80

Tested by

no test coverage detected