MINOR: threads: set the group ID and its bit in the thread group

This will ease the reporting of the current thread group ID when coming
from the thread itself, especially since it returns the visible ID,
starting at 1.
2 files changed