#include #include void *hello (void * arg) { sleep(1); printf("Hello Thread\n"); } main() { pthread_t tid; pthread_create(&tid, NULL, hello, NULL); pthread_join(tid, NULL); }