Ask Question

In a mailbox based message passing system, a process is not put in a waiting queue but receives an error signal upon sending to a full mailbox. Similarly, a process is not put in a waiting queue but receives an error signal upon trying to receive from an empty mailbox. Then, the process will try its sending or receiving operation repetitively until it succeeds. Does this approach suffer from race conditions?

+3
Answers (1)
  1. 25 October, 07:29
    0
    Yes.

    Explanation:

    Race condition can be described as a situation where at any time there are two or more processes or threads operating concurrently, there is potential for a particularly difficult class of problems. The identifying characteristic of race conditions is that the performance varies depending on which process or thread executes their instructions before the other one, and this becomes a problem when the program runs correctly in some instances and incorrectly in others. Race conditions are notoriously difficult to debug, because they are unpredictable, unrepeatable, and may not exhibit themselves for years.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “In a mailbox based message passing system, a process is not put in a waiting queue but receives an error signal upon sending to a full ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers