/MY PROGRAM ARE COMPILED IN FEDORA15 ..WITH 4.6 gcc compiler...../
/*In which program i have created 4 diffrent threads doing diffrent work...excuted o ne by one...by waiti//ng each thread by using pthread_join or we can say ...join cre ated thread with creating thread...nw main thread will wait untill created thread do not finishes*/
37 pthread_join(tid3,&retval);//all pthread_join function will wait diffrently fo r their return code...whenever they get their finished thread return code..main thre ad will execute next instruction
49 void* thread_fun1(void* arg)//each & every function will execute in synchronized man nner by using pthread_join....thread1 then thread2 ..so on //main thread will wait by using pthread_join for every thread to finish in synchronised & parallel manner