Internally fork call

What do fork()call internally?

E

Expert

Verified

Linux implements fork() via the clone() system call. In turn, The clone () system call calls do_fork(). In forking the bulk of the work is handled by do_fork(), which is described in kernel/fork.c. This function calls copy_process() and then begin the process running. If copy_process() returns successfully, the new child is woken up & run. Deliberately, the kernel runs the child process primary.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.