What is the equivalent of java's CyclicBarrier in .net?
What is the equivalent of java's CyclicBarrier in .net? Is there any?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Aug 1, 2012, 8:20 AM
http://msdn.microsoft.com/en-us/library/system.threading.barrier.aspx
Like Java's CyclicBarrier class, it allows you to specify an action to be specified after each phase.
However, it's not clear whether it's 'cyclic' in the sense that the barrier can be reused after the waiting threads have been released.