Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1. threads[0] = new Thread(new ThreadStart(() => RunScanner("all")));
  2.             threads[0].Name = ScriptHandler.lstSections[0];
  3.  
  4.             threads[1] = new Thread(new ThreadStart(() => RunScanner("pics")));
  5.             threads[1].Name = ScriptHandler.lstSections[1];
  6.  
  7.             threads[2] = new Thread(new ThreadStart(() => RunScanner("funny")));
  8.             threads[2].Name = ScriptHandler.lstSections[2];
  9.  
  10.  
  11.             for (int i = 0; i <= 2; i++)
  12.             {
  13.                 threads[i].Start();
  14.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement