1 #include <pthread.h> 2 start_routine(void * args)3void* start_routine(void* args) 4 { 5 return args; 6 } 7 main(void)8int main(void) 9 { 10 /* This is a compile and link test, no code to actually run things. */ 11 pthread_t thread; 12 pthread_create(&thread, 0, start_routine, 0); 13 pthread_join(thread, 0); 14 return 0; 15 } 16