vault backup: 2025-04-04 23:39:27

This commit is contained in:
Marco Realacci 2025-04-04 23:39:27 +02:00
parent 6a9cf80167
commit 24539ddb11
13 changed files with 28 additions and 28 deletions

View file

@ -3,7 +3,7 @@ The first real practical example of a concurrent system.
- one chopstick between each pair of philosophers
- a philosophers must pick up its two nearest chopsticks in order to eat
- a philosopher must pick up first one chopstick, then the second one, not both at once
![[images/Pasted image 20250317100456.png|100]]
![[/Concurrent Systems/notes/images/Pasted image 20250317100456.png|100]]
**PROBLEM:** *Devise a deadlock-free algorithm for allocating these limited resources (chopsticks) among several processes (philosophers).*