In what circumstances is the system-call sequence fork() exec() most appropriate?

Asked By 100 points N/A Posted on -
qa-featured

In what circumstances is the system-call sequence fork() exec() most appropriate? Please experts help.

SHARE
Best Answer by jitsa
Best Answer
Best Answer
Answered By 0 points N/A #87127

In what circumstances is the system-call sequence fork() exec() most appropriate?

qa-featured

The system-call sequence fork() exec() more appropriate, where the parent and child processes interact before the child performs an exec.

Answered By 0 points N/A #87128

In what circumstances is the system-call sequence fork() exec() most appropriate?

qa-featured

Fork() system call is used to create a new process and exec() system call executes this process same as its parent process is running. vfork() is a special case of clone and is used to create new processes without copying the page tables of the parent process but it is not suitable for certain programs where the parent and child processes interact before the child performs an exec. For such programs, the system-call sequence fork() exec() more appropriate.

Login/Register to Answer

Related Questions