List of usage examples for java.lang ThreadGroup stop
@Deprecated(since = "1.2") public final void stop()
From source file:Main.java
/** * Kill thread group by name/*from w w w.j a v a 2 s . c om*/ * * @param name */ public static void killThreadGroup(String name) { ThreadGroup threadGroup = getThreadGroupByName(name, null); if (threadGroup != null) { threadGroup.stop(); } }