hi all
i have a doubt.
i wrote a program using threads.
i used threads like this
can you tell is this wright way to use threads.Code:void one() { pthread_t thread; gint iret1; iret1=pthread_create( &thread, NULL, two, NULL); } void two() { printf("enterd in to thread \n"); three(); pthread_exit(0); } void three() { printf("hiiiiiiii \n"); }
help me thank you in advance