add thread struct in proc struct