BitSharper.Threading.CountDownLatch.CountDownLatch C# (CSharp) Method

CountDownLatch() public method

Constructs a CountDownLatch initialized with the given count.
/// If is less than 0. ///
public CountDownLatch ( int count ) : System
count int the number of times must /// be invoked before threads can pass through . ///
return System
        public CountDownLatch(int count)
        {
            if (count < 0)
                throw new ArgumentOutOfRangeException(
                    "count", count, "Count must be greater than 0.");
            _count = count;
        }