vault backup: 2025-04-05 00:07:51
This commit is contained in:
parent
47b74f3eec
commit
1c82ee3d9d
11 changed files with 30 additions and 30 deletions
|
@ -62,7 +62,7 @@ function withdraw() {
|
|||
|
||||
While `read()` and `write()` may be considered as atomic, their sequential composition **is not**.
|
||||
|
||||

|
||||

|
||||
|
||||
#### Mutual Exclusion (MUTEX)
|
||||
Ensure that some parts of the code are executed as *atomic*.
|
||||
|
@ -100,7 +100,7 @@ Every solution to a problem should satisfy at least:
|
|||
|
||||
**Both inclusions are strict:**
|
||||
$$\text{Deadlock freedom} \not \implies \text{Starvation freedom}$$
|
||||

|
||||

|
||||
*p1 is starving!*
|
||||
$$\text{Starvation freedom} \not \implies \text{Bounded bypass}$$
|
||||
Assume a $f$ and consider the scheduling above, where p2 wins $f(3)$ times and so does p3, then p1 looses (at least) $2f(3)$ times before winning.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue