vault backup: 2025-03-21 19:30:08
This commit is contained in:
parent
108162ad85
commit
3920a7b268
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
Semaphores are hard to use in practice because quite low level Monitors provide an easier definition of concurrent objects at the level of Prog. Lang.
|
Semaphores are hard to use in practice because quite low level Monitors provide an easier definition of concurrent objects at the level of Prog. Lang.
|
||||||
|
|
||||||
It guarantees mutual exclusion.
|
>[!note] MUTEX
|
||||||
|
>Every operation in a monitor is done with mutual exc
|
||||||
|
|
||||||
Inter-process synchronization is done through *conditions*, which are objects that provide the following operations:
|
Inter-process synchronization is done through *conditions*, which are objects that provide the following operations:
|
||||||
- ***wait*:** the invoking process suspends, enters into the condition's queue, and releases the mutex on the monitor
|
- ***wait*:** the invoking process suspends, enters into the condition's queue, and releases the mutex on the monitor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue