explain why intercepts are not appropriate for implementing synchronization primitives in multiprocessor system
Answers
Answer:
opretaing system
1. Explain why interrupts are not appropriate for implementing synchronization primitives in multiprocessor systems.
2. Servers can be designed to limit the number of open connections. For example, a server may wish to have only N socket connections at any point in time. As soon as N connections are made, the server will not accept another incoming connection until an existing connection is released. Explain how semaphores can be used by a server to limit the number of concurrent connections.
3. Consider the traffic deadlock depicted in Figure 1.
a. Show that the four necessary conditions for deadlock indeed hold in this example.
b. State a simple rule for avoiding deadlocks in this system.
Explanation:
hope it helps u
:)