// make the pthread separated out ,and hold the pthread exit,release resourses
pthread_detach(pthread_self());
pthread_exit(0);
// make the pthread separated out ,and hold the pthread exit,release resourses
pthread_detach(pthread_self());