Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- StartUp start = new StartUp(this);
- my = new Thread(start.Go);
- my.Start();
- my.Abort();
- public void Go ()
- {
- int max = work.max_thread;
- label1:
- if (work.keys.Count>0)
- {
- while (count_thread == 0 || count_thread < max)
- {
- Thread myThread = new Thread(web.InD);
- myThread.Start();
- count_thread += 1;
- }
- Thread.Sleep(1000);
- goto label1;
- }
- }
Add Comment
Please, Sign In to add comment