Exemplo n.º 1
0
 static public void InitMultiLoad(MultiLoadFunction Func, int Count)
 {
     for (int i = 0; i < Count; ++i)
     {
         new LoaderMgr(Func, Count, i);
     }
 }
Exemplo n.º 2
0
 public LoaderMgr(MultiLoadFunction Function, int Count, int Id)
 {
     _MultiFunction = Function;
     this.Count = Count;
     this.Id = Id;
     ThreadStart Start = new ThreadStart(MultiLoad);
     Thread LoadThread = new Thread(Start);
     LoadThread.Start();
 }
Exemplo n.º 3
0
        public LoaderMgr(MultiLoadFunction Function, int Count, int Id)
        {
            _MultiFunction = Function;
            this.Count     = Count;
            this.Id        = Id;
            ThreadStart Start      = new ThreadStart(MultiLoad);
            Thread      LoadThread = new Thread(Start);

            LoadThread.Start();
        }
Exemplo n.º 4
0
 public static void InitMultiLoad(MultiLoadFunction Func,int Count)
 {
     for (int i = 0; i < Count; ++i)
         new LoaderMgr(Func, Count,i);
 }