This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
|
java:concurrency_intro [2017/03/19 18:01] gthanos [Επανενεργοποίηση ενός νήματος μέσω της μεθόδου interrupt()] |
java:concurrency_intro [2018/03/08 09:25] gthanos [Εφαρμόζοντας τις μεθόδους sleep()/interrupt()/join() σε ένα παράδειγμα] |
||
|---|---|---|---|
| Line 79: | Line 79: | ||
| Thread.sleep(4000); | Thread.sleep(4000); | ||
| } catch (InterruptedException e) { | } catch (InterruptedException e) { | ||
| - | System.out.println((" | + | System.out.println(" |
| return; | return; | ||
| } | } | ||
| Line 211: | Line 211: | ||
| + | |Προηγούμενο: | ||