answersLogoWhite

0


Best Answer

it really behaves like a lock on an ordinary door in the real world: You enter a room, you lock the door because you do not want to be disturbed, do whatever you need to do in there, unlock the door and only then can somebody else enter. If anybody tries to enter the room while you are still in there, he has to wait. As long as you do not forget to lock or unlock the door, this algorithms guarantees mutual exclusion and protects the so called critical region. And this is what the whole thing would look like using a parallel programming system

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the need for mutual exclusion?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Describe how the swap instruction can be used to provide mutual exclusion that satisfies the bounded-waiting requirement?

Describe how the Swap() instruction can be used to provide mutual exclusion that satisfies the bounded-waiting requirement.


What is the basic requirement for execution of concurrent process?

the ability to enforce mutual exclusion


What is mutual exclusion in operating systems?

Mutual Exclusion is the concept of restricting access to a shared resource. When multiple processes perform operations on a single resource then they might corrupt it. Its the operating systems' responsibility to make sure that this does not happen. There are many methods that can be used to implement mutual exclusion such as semaphores, monitors, etc. Mutual exclusion has the following properties. Safety: No two processes must use the shared resource at the same time. (Should not be in the critical section at the same time.) Liveliness: There should not be deadlocks and a process comes out of the critical section after some time. Fairness: A process wanting to use critical section must only wait some time.


What is distributed mutual exclusion?

distributed Mutual exclusion, in computer science, refers to the problem of ensuring that no two processes or threads (henceforth referred to only as processes) can be in their critical section at the same time. Here, a critical section refers to a period of time when the process accesses a shared resource, such as shared memory. The problem of mutual exclusion was first identified and solved by Edsger W. Dijkstra in his seminal 1965 paper titled: Solution of a problem in concurrent programming control..hope it helps:)


What is Windows mutant?

In Windows NT a mutant provides kernel mode or user mode mutual exclusion with the notion of ownership.


How does semaphore solve mutual exclusion problem?

Mutual exclusion is an issue in concurrent programming when two concurrent processes are attempting to access the same shared resource and neither can complete their process because the other is blocking it. A semaphore controls access to the shared resource, ensuring that one process is completely finished before a second can access it.


What is an example of a 'mutual exclusion'?

mutual exclusion makes sure that concurrent processes access shared resources or data in a serialized way. if a process say Pi is executing in its critical section , then no other processes can be executing in their critical section.


Does Peterson algorithm satisfy progress?

Yes Petersons algo satisfies Mutual exclusion, Progress and bonded waiting and is more efficient than Dekker's algo.


Did Physicians Mutual adopt a new slogan We're here when you need us in 1980?

1980: Physicians Mutual Insurance Company adopts the slogan "We're here when you need us". One ad shows Mary Tyler Moore talking about how Physicians Mutual is there when you need us. In another spot, Johnny Cash talks about how benefits increase, and Physicians Mutual is there when you need us. In a 1981 ad, Rosanne Cash sings the praises of Physicians Mutual.


What is a sentence with the word exclusion?

Stay away from the exclusion zone.The exclusion made him think twice about his behaviour.


What are the requirements of mutual exclusion?

The requirements for mutual exclusion are as follows 1. Only one process at a time is allowed to enter mutual its critical section for a resource. 2. A process that halts in its non-critical section must do so without interferring with other processes. 3. It must no be possible for a process requirning access to a critical section to be delayed indefinitly. 4. A process must not be delayed if it wishes to enter a critical section if there is no other process using it. 5. No assumptions are made about relitive process speeds or number of processes. 6, A process remains in it critical section for a finite amount of time only.


What are the lyrics to Physicians Mutual's We're Here When You Need Us?

No matter how large your insurance claims, That's the way you want to know. Make a difference everywhere you want to be, And your insurance knows ourselves to be with you. But the best is yet with Physicians Mutual. We're here when you need us, No matter how insurance claims. We're here when you need us, Your family and friends. We're here when you need us, With Physicians Mutual Insurance Company. We're here when you need us, Physicians Mutual.