I am confused about the process switching between two processes. When a new process is created using fork, what are the general rules applicable for switching between processes. Is it only when one processes goes to idle state? I have few doubts
- What will happen when parent and child in both infinite loop and having only print instruction (no sleep method)
- What is the general rule?