None of Clojure's concurrency primitives really support this mode of thinking, as far as I know. If you want a CyclicBarrier (which I doubt you often will, in Clojure), use the perfectly-good, well-tested one in java.util.concurrent.
On May 8, 10:13 pm, MohanR <radhakrishnan.mo...@gmail.com> wrote: > Is the java.util.concurrent.CyclicBarrier implemented in Clojure using > a promise and agents ? I came across some examples like this and I > think all threads can use the barrier once using this method. > > Is there a way to create a reusable Cyclic barrier ? > > "The barrier is called cyclic because it can be re-used after the > waiting threads are released. " > > Thanks, > Mohan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en