#include #include #include void *hello_thread(void *arg) { fprintf(stderr, "Hello "); return NULL; } void *world_thread(void *arg) { fprintf(stderr, "World!\n"); return NULL; } int main(int argc, char **argv) { pthread_t hello, world; pthread_create(&hello, NULL, hello_thread, NULL); pthread_create(&world, NULL, world_thread, NULL); return 0; }