idtot
if ((t = idtot(curproc, lwpid)) == NULL || t == curthread)
if (idtot(p, tid) == NULL)
t = idtot(p, id);
extern kthread_t *idtot(proc_t *, id_t);
if ((t = idtot(p, lwpid)) == NULL) {
if ((t = idtot(p, lwpid)) == NULL) {
if ((t = idtot(p, lwpid)) == NULL)
if ((tp = idtot(pp, id)) == NULL) {
if ((tp = idtot(pp, id)) == NULL) {