1

By using , wait/notify or join or 2 countdownlatch I can make 3 threads to run in sequence.

How can similar be achieved through cyclic barrier?

  • 2
    That’s not the purpose of a cyclic barrier. Well, actually, it’s not even the purpose of threads “to run in sequence”. Why do you need a 3rd solution to your problem when you already have two? – Holger May 15 '20 at 12:22

0 Answers0