--%>

Shared memory

How shared memory are accessed if we have two processors attempting to gain the same region?

E

Expert

Verified

Synchronization has to be done to protect the data corruption by simultaneous writes from two processes running on two distinct processors. Synchronization among two processors is best done with the help of spinlocks.

While a process on one processor had locked the shared memory the other procedure running on the second processor shall be doing a hard spin till the first process released the lock. It is the rule of Spin locks.

   Related Questions in Science

  • Q : What are carbohydrates What do you mean

    What do you mean by the term carbohydrates? Explain cat grass.

  • Q : Who was Richard Nixon Richard Nixon :

    Richard Nixon: He made to the top of the political the heap was a miracle. Some people particularly liked him, he was himself too suspicious to have a close friend. He came up short in the superficial qualities thought essential to success in American

  • Q : Symmetric Encryption What do you mean

    What do you mean by Symmetric Encryption?

  • Q : What is Bio-Technology What do you mean

    What do you mean by the term Bio-Technology?

  • Q : Write an AWK program Write an AWK

    Write an AWK program which takes the following input _le and processes it. $cat data.txt John Do 111-1111 English 90 Maths 80 Alice Do 222-2222 English 90 Maths 90 Chemistry 93 The input _le has _rst 3 _elds _xed as _rst name, last name, and student id. After the s

  • Q : Reason for Cold War origin The reason

    The reason for Cold War origin was that the Soviet Union and United States didn’t trust each other. Even after being together in World War II, they didn’t have faith on each other. There was a sign of doubt in their mind that one day, the

  • Q : Describe Property Patterns Property

    Property Patterns: One important obstacle to using temporal logic is the difficulty of expressing complex properties correctly. Dwyer and his colleagues have proposed a pattern-based approach to the presentation, codification, and reuse of property sp

  • Q : Define Cryogenic Cryogenic : Cryogenic

    Cryogenic: Cryogenic signifies to work in lesser temperature ranging -50 and lower than that.  

  • Q : Describe Eisenhowers political beliefs

    Eisenhower's political beliefs: Eisenhower believed in dynamic conservation. He was conservative on money matters and was liberal to human beings. He believed in government support for big business, budget spending and the return of federal functions