Question: We discussed in class the ability to create new processes in a Linux environment by way of the fork ( ) function. What is true
We discussed in class the ability to create new processes in a Linux environment by way of the fork function. What is true about this function?
Group of answer choices
fork takes a parameter which is the priority of the process that is going to be created
The function returns if the function failed to create a new process
It spawns a new process that is a child of the calling process. The child process is its own, unique process and shares nothing with the parent. The two processes are seen as equal and have no interaction with each other.
The function returns if it is in the child process that was created, or a positive integer if it is in the parent. The positive integer is set to the process ID of the newly created process.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
