0
1.1kviews
Briefly explain how message passing canbe used to achived mutual exclusion. Compare this techniques with semaphore and monitors.
1 Answer
| written 3.7 years ago by |
Both semaphores and monitors are used to solve the critical section problem (as they allow processes to access the shared resources in mutual exclusion) and to achieve process synchronization in the multiprocessing environment.
Monitor:
A Monitor type high-level synchronization construct. It is an abstract data type. The Monitor type contains …