search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
42 views
asked Guru 24.6k points 29 52 81

1 Answer

0 votes
 During the fork() system call the Kernel makes a copy of the parent process’s address space and attaches it to the child process. But the vfork() system call do not makes any copy of the parent’s address space, so it is faster than the fork() system call. The child process as a result of the vfork() system call executes exec() system call. The child process from vfork() system call executes in the parent’s address space (this can overwrite the parent’s data and stack ) which suspends the parent process until the child process exits.
 
answered Guru 27.1k points 31 50 97

Related questions

0 votes
1 answer 27 views
27 views
asked sara Guru 24.6k points 29 52 81
0 votes
1 answer 25 views
25 views
asked john Guru 27.1k points 31 50 97
0 votes
1 answer 246 views
246 views
asked sara Guru 24.6k points 29 52 81
0 votes
1 answer 42 views
42 views
asked sara Guru 24.6k points 29 52 81
...