This commit is contained in:
trochas
2024-12-03 16:02:42 +01:00
parent 6b323ae532
commit 5957c5e842
3 changed files with 7 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ public class Client extends Thread {
} catch (InterruptedException e){
e.printStackTrace();
}
System.out.println("Clien " + Thread.currentThread().getId() + " : a pris une portion");
compartiment.servir(r);
try{
long temps_servir =new Random().nextInt(300 - 200) + 200;