BatchFlow.Flow.IncrementInProcess C# (CSharp) Method

IncrementInProcess() private method

private IncrementInProcess ( ) : void
return void
        internal void IncrementInProcess()
        {
            lock (_inProcessLock)
            {
                _inProcessCounter++;
                if (_inProcessCounter == 1)
                {
                    //we were free, but not anymore
                    _ready.WaitOne();
                }
            }
        }