Entrambi
8 ThreadC2
Indice
- Multitasking e multithreading1
- Thread e processi1
- Runnable e Thread2
- Interleaving e sleep4
- Variabili nei thread5
- Il ciclo di vita di un thread7
- Schedulazione e priorità8
- Aspettare un thread: join9
- Interrompere un thread: interrupt11
- Risorse condivise e synchronized13
- Il monitor15
- Deadlock e thread demoni16
- Rientranza19
- wait, notify e notifyAll19
- Produttore e consumatore20
- Esercizi25
- Soluzioni27
Apertura del capitolo