Explain about threading issues?
The fork and exec system calls
In a multithreaded program of few UNIX systems have chosen to have two versions of fork, one that duplicates each threads and another that duplicates only the thread that raised the fork system call. If a thread raised the exec system call, the program specified in the parameter to exec will change the entire process.