Process Synchronization Mostly use class presentations. Review questions for process synchronization: (1) Explain in a paragraph what synchronization is and why we need it. Include a brief description of the producer consumer problem. (2) What is a critical section? Describe an example. (3) Can you think of your own example of a deadlock (other than […]
Tag Archives: deadlock
What are the four requirements for a deadlock?
What is the formal definition of the deadlock? What are the four requirements for a deadlock? Suppose that a resource allocation graph contains a cycle. Does this mean there is a deadlock? Suppose that a resource allocation graph does not contain a cycle. Does this mean there is no deadlock? Consider a system with processes […]