parent
Returns the parent of the given thread container.
If the container has an owner then its parent is the enclosing container when nested, or the container that the owner is in, when not nested.
If the container does not have an owner then the root container is returned, or null if called with the root container.