java:concurrency_intro
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
java:concurrency_intro [2017/03/19 18:01] – [Επανενεργοποίηση ενός νήματος μέσω της μεθόδου interrupt()] gthanos | java:concurrency_intro [2018/03/08 10:37] (current) – [Εφαρμόζοντας τις μεθόδους sleep()/interrupt()/join() σε ένα παράδειγμα] gthanos | ||
---|---|---|---|
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 209: | Line 209: | ||
}</ | }</ | ||
- | + | |Προηγούμενο: | |
- | + | ||
- | + | ||
- | + |
java/concurrency_intro.1489946485.txt.gz · Last modified: 2017/03/19 18:01 (external edit)