Concurrency of child processes in pipe communication #1
Unanswered
LShivaRudra
asked this question in
Q&A
Replies: 2 comments 3 replies
-
yeah just whenever you are forking and pid==0 for child, call a function create passenger process |
Beta Was this translation helpful? Give feedback.
2 replies
-
not necessary, we dont know which child process execute first, may not be in increasing order |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
During Assn1 viva, we were told that pipes should be running concurrently. Meaning, the pids of child processes(passengers) should be random and not always increasing. Should we check that here also? If yes, any suggestions of how we can implement that?
Beta Was this translation helpful? Give feedback.
All reactions