move lgname from thr to proc struct