Retrieves information about the thread, such as thread ID, start time, name, current state and priority.