2076 10

CSC264 ยท 2076 ยท 5 marks

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]

Operating SystemsChapter 2: Process ManagementMonitors

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...