Question: 1. What is shared resource? 2. What is race condition (aka datarace or data tear?) 3. Explain how data race can happen (Check the assemble/CPU

1. What is shared resource?

2. What is race condition (aka datarace or data tear?)

3. Explain how data race can happen (Check the assemble/CPU level explanation from our classes and from our textbook)

4. Can race condition happen if only one party modifies the data an others are just reading? Can race condition happen if everybody is just reading?

5. What is critical section problem?

6. What are the three properties of a good solution of a critical section problem?

7. Explain the idea of locking shared resources.

8. What does it mean atomic function? (please remember both parts of the definition)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!