Example #1
0
        public ScanWorker(List <string> param, SFQueue scan_path)
        {
            _scan_objs = scan_path;
            _thread    = new Thread(scan);
            _thread.Start();

            if (param == null)
            {
                return;
            }

            foreach (var s in param)
            {
                _lame.SetParameters(s);
            }
        }
Example #2
0
 public DirTravelWorker(SFQueue q)
 {
     _scan_obj_queue = q;
     _travel_worker  = new Thread(_run);
     _travel_worker.Start();
 }