Operating Systems20765 marksMonitors
What is problem associated with semaphores? Explain the concept of monitors in brief.
What is problem associated with semaphores? Explain the concept of monitors in brief. [5]
Semaphores are a widely used synchronization mechanism, but they suffer from several serious problems: 1. Incorrect Use / Programming Errors: Semaphores require programmers to call wait() (down) and signal() (up) in the correct order. A single mistake can cause serious issues: - If a process forg...