Hi Everyone,<br><br>The problem has been resolved. Actually, the defualt cfg file had fork=1 and hence the yyparse() of that cfg file always reset the dont_fork to 0. Now i am using a saperate cfg file with fork=0.<br><br>

But any advice on multithreading part will be appriciated.<br><br><br clear="all">Regards,<br>Sameer Kumar<br>B.Tech, Computer Engineering<br>Institute of Technology,<br>Nirma University,<br>Ahmedabad, Gujarat<br>email: <a href="mailto:sameer.kasi200x@gmail.com">sameer.kasi200x@gmail.com</a><br>

          <a href="mailto:05bce032@nirmauni.ac.in">05bce032@nirmauni.ac.in</a><br>Phone: +919375220396<br>