struct task->pid means tid, whereas task->tgid means pid