Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. for (int i = 1; i < n; i++)
  2. {
  3. for (int d = 0; d < potok_count; d++)
  4. {
  5. potoki[d] = new Thread((object e) =>
  6. { .......... });
  7. potoki[d].start(d);
  8. }
  9. for (int D = 0; D < potok_count; D++)
  10. {
  11. while (!is_end[D]) ;
  12. potoki[D].Abort();
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement