Program to create Deadlock Using C in Linux
#include
#include
void *function1();
void *function2();
/**/
#include
#include
void *function1();
void *function2();
Zombie process is a process which has terminated but its entry still exists in the process table until the parent terminates normally or calls wait()
execl() or execlp() functions are used to replace the image of the current process with a new process image. In other words the current process code gets replaced by the new process code.
fork() is a system call used to create a new process. The new process is called a child process and the original process is called the parent process. The child process by default is a duplicate of the parent process.