stop_thread
stop_thread(thj);
void stop_thread(struct thread *th);
stop_thread(thi);
stop_thread(&threadlist[threads[i]]);