atomique et epoque fini
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user