A thread and its context