Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class HiloE extends Thread{
- public HiloE() {}
- public void run() {
- RegionCritica cuenta = new RegionCritica();
- for(int i=1;i<=30;i++) {
- Extraccion hiloE = new Extraccion(cuenta);
- hiloE.start();
- try {
- sleep(80);
- } catch (InterruptedException e) {
- // TODO: handle exception
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement