add main thread pthread_exit demo