//threadTest.c //John T. Rine //October 29, 2011 #include #include #include void *PrintMessage(void *message) { printf("%s\n", message); pthread_exit(NULL); } int main(int argc, char **argv) { if(argc == 1) { printf("No threads specified, exiting...\n"); exit(1); } pthread_t threads[argc - 1]; int rc, t; for(t=0;t