Increase() public method

public Increase ( int threadCount ) : void
threadCount int
return void
Exemplo n.º 1
0
        internal static void IncreaseThread(WorkerThread target, int threadCount)
        {
            int increaseCount = threadCount - target.ThreadCount;

            if (increaseCount < 1)
            {
                return;
            }

            target.Increase(increaseCount);
            target.Start();
        }
Exemplo n.º 2
0
        internal static void IncreaseThread(WorkerThread target, int threadCount)
        {
            int increaseCount = threadCount - target.ThreadCount;
            if (increaseCount < 1)
                return;

            target.Increase(increaseCount);
            target.Start();
        }