Esempio n. 1
0
 public MainLogic(ProgressForm.JobInfo info, Map <string, int> usedOutputFilenames, object calculateSHA1Mutex)
 {
     _info                = info;
     _canceled            = false;
     _usedOutputFilenames = usedOutputFilenames;
     _calculateSHA1Mutex  = calculateSHA1Mutex;
 }
Esempio n. 2
0
        public MainLogic(ProgressForm.JobInfo info)
        {
            _info     = info;
            _canceled = false;

            int numThreads = Environment.ProcessorCount;

            ThreadPool.SetMinThreads(numThreads, numThreads);
            ThreadPool.SetMaxThreads(numThreads, numThreads);
        }
Esempio n. 3
0
 public MainLogic(ProgressForm.JobInfo info)
 {
     _info     = info;
     _canceled = false;
 }
Esempio n. 4
0
 public MainLogic(ProgressForm.JobInfo info)
 {
     _info = info;
     _canceled = false;
 }