Question 62: Which of the following is not a way of inter-process communication?
- Pipes
- Shared memory
- Race condition
- Semaphore
Solution: Race condition is a consequence if the IPC is not done correctly. The correct answer is option 3.
Question 62: Which of the following is not a way of inter-process communication?
Solution: Race condition is a consequence if the IPC is not done correctly. The correct answer is option 3.
Question 61: What is true about up() and down() operations of semaphore?
Solution: They have to be atomic otherwise there can be race conditions. Hence, the correct answer is option 4.