add pthread-join pthread_exit