atomique et epoque fini

This commit is contained in:
Rochas
2025-12-01 22:52:06 +01:00
parent 3684570a83
commit 0fb5673d62
6 changed files with 64 additions and 56 deletions

View File

@@ -54,9 +54,13 @@ public class TestAlgoDiffusionAtom {
Thread.sleep(10000);
System.out.println("STOP");
c.stop(); //arrête la mise à jour du capteur (mais stop pas le tick)
System.out.println("waitting for lasts display...");
for(int i = 60; i>0; i--){
System.out.println("restant " + i + "s");
Thread.sleep(1000);
}
future.cancel(false);
Thread.sleep(3100); //3000ms max + 100ms de marge
clock.shutdown();
//Thread.sleep(1500);