方式一
void *test_thread(void *arg);
pthread_create(&pid, pthread_arr1,test_thread, NULL);
方式二
void test_thread(void *arg);
pthread_create(&pid, NULL,(void* (*)(void*))&test_thread,NULL);
void *test_thread(void *arg);
pthread_create(&pid, pthread_arr1,test_thread, NULL);
void test_thread(void *arg);
pthread_create(&pid, NULL,(void* (*)(void*))&test_thread,NULL);