Jul 24, 2024
We don't need to call `barrier. reset()` if you recheck the last implementation, you can see the `Thread.currentThread().interrupt();` call that acts as a signal for CyclicBarrier and the main thread for fail-safe.
We don't need to call `barrier. reset()` if you recheck the last implementation, you can see the `Thread.currentThread().interrupt();` call that acts as a signal for CyclicBarrier and the main thread for fail-safe.
✍️ I write about Software Development, including Java, Go, Spring, Containers, K8s, AI, Observability, and more ⋈