I have a question about OS. Is the variable with the same name between the child process created by the fork() function and the parent process a critical resource? I think the child process and the parent process can access variables with the same name at the same time, so it should not be considered a critical resource. And when the child process modifies the variable, it will copy a new variable. Am I thinking right, thanks for your help!
Asked
Active
Viewed 15 times