Constructs a new thread group. The parent of this new group is
the thread group of the currently running thread.
<p>
The {@code checkAccess} method of the parent thread group is
called with no arguments; this may result in a security exception.
@param name the name of the new thread group.
@throws SecurityException if the current thread cannot create a
thread in the specified thread group.
@see java.lang.ThreadGroupEx#checkAccess()
Constructs a new thread group. The parent of this new group is the thread group of the currently running thread. <p> The {@code checkAccess} method of the parent thread group is called with no arguments; this may result in a security exception.
@param name the name of the new thread group. @throws SecurityException if the current thread cannot create a thread in the specified thread group. @see java.lang.ThreadGroupEx#checkAccess()