void *thread(void *arg) { #undef free char *msg = (char*)arg; printf("thread: %s\n", msg); free(msg); return NULL; }