Project Name File Name Usage Source Code Link
Memoizer.NET TwoPhaseExecutor.cs new Barrier((numberOfParticipants + 1), barrier => { if (Instrumentation) switch (barrier.CurrentPhaseNumber) { case 0: Console.WriteLine(GetType().FullName + ": Phase 1: releasing all worker threads simultaneously"); break; case 1: Console.WriteLine(GetType().FullName + ": Phase 2: all worker threads have finished; cleaning up and terminating all threads"); break; default: throw new NotSupportedException("Unknown phase (" + barrier.CurrentPhaseNumber + ") entered..."); } }) Link To Source File
Bricks ServerHelper.cs new Barrier(count) Link To Source File
Bricks ServerHelper.cs new Barrier(count) Link To Source File
Disruptor-net Sequencer3P1CDisruptorWithAffinityPerfTest.cs new Barrier(NumProducers) Link To Source File
Disruptor-net Sequencer3P1CBlockingCollectionPerfTest.cs new Barrier(NumProducers + 1) Link To Source File
Disruptor-net Sequencer3P1CBlockingCollectionPerfTest.cs new Barrier(NumProducers + 1) Link To Source File
Disruptor-net Sequencer3P1CDisruptorPerfTest.cs new Barrier(NumProducers) Link To Source File
Disruptor-net RingBufferTests.cs new Barrier(2) Link To Source File
OG-DotNet MemoizerTest.cs new Barrier(2) Link To Source File