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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started