Esempio n. 1
0
 public ThreadManager(GUI RP)
 {
     Database = DBController.GetInstance();
     HttpDownloader.GetInstance();
     ClosingLock  = new object();
     reporter     = RP;
     ThreadCount  = 0;
     busy         = false;
     CurrentQueue = 0;
 }
Esempio n. 2
0
        public Controller(GUI form)
        {
            TManager           = new ThreadManager(form);
            ProgressBackupTask = new Task(PeriodicBackup);

            reporter = form;
            //?why
            MaxThreads = Environment.ProcessorCount;

            Database = DBController.GetInstance();

            temp_list = null;

            HtmlParser.IntializeStopWords();
        }
Esempio n. 3
0
 public ThreadWorker(GUI RP)
 {
     Database = DBController.GetInstance();
     reporter = RP;
 }