System.Threading.Barrier.Barrier C# (CSharp) Method

Barrier() public method

Initializes a new instance of the Barrier class.
is less than 0 /// or greater than .
public Barrier ( int participantCount ) : System.Diagnostics
participantCount int The number of participating threads.
return System.Diagnostics
        public Barrier(int participantCount)
            : this(participantCount, null)
        {
        }

Same methods

Barrier::Barrier ( int participantCount, Action postPhaseAction ) : System.Diagnostics