Creates a shared thread container with the given name. Its parent will be the root thread container.
Creates a shared thread container with the given parent and name.