Nguyễn Thành Huy
New member
Does fork copy code?
Answer
In Unix, all processes are created with the system call fork(). It creates a new process which is
a copy of the calling process. … That means that it copies the caller’s memory (code, globals, heap and stack), registers, and open files.
Answer
In Unix, all processes are created with the system call fork(). It creates a new process which is
a copy of the calling process. … That means that it copies the caller’s memory (code, globals, heap and stack), registers, and open files.