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

@@ -48,6 +48,8 @@ public class TestAlgoDiffusionEpoq {
Canal canal = new Canal(c, scheduler, afficheur);
c.attach(canal);
}
algo.configure();
ScheduledExecutorService clock = scheduler.getScheculer();
ScheduledFuture<?> future = clock.scheduleAtFixedRate(() -> c.tick(), 0, 500, TimeUnit.MILLISECONDS);