Thread join implementation in Java

Member

zora.stokes

by zora.stokes, in category: Java , a year ago

Thread join implementation in Java

1
2
3
4
5
6
7
try {
     while (sender.isAlive()) {
         this.sleep(100);//static field usage(!)
     }
} catch (java.lang.InterruptedException e) {
     Log.log(Log.ERROR, this, e);
}


Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers