vault backup: 2025-04-05 00:11:00

This commit is contained in:
Marco Realacci 2025-04-05 00:11:00 +02:00
parent 60c7e97f33
commit 0798769a15
3 changed files with 6 additions and 7 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
![]()
![100](images/Pasted%20image%2020250317100456.png)`
**PROBLEM:** *Devise a deadlock-free algorithm for allocating these limited resources (chopsticks) among several processes (philosophers).*