Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- threads[0] = new Thread(new ThreadStart(() => RunScanner("all")));
- threads[0].Name = ScriptHandler.lstSections[0];
- threads[1] = new Thread(new ThreadStart(() => RunScanner("pics")));
- threads[1].Name = ScriptHandler.lstSections[1];
- threads[2] = new Thread(new ThreadStart(() => RunScanner("funny")));
- threads[2].Name = ScriptHandler.lstSections[2];
- for (int i = 0; i <= 2; i++)
- {
- threads[i].Start();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement