while(1) { };
Can somebody give me justification for this addition of one more process for this?
The tight while loop accounts for second one. Try replacing this with pthread_join.
Regards,Mohanlal
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/