Normal
Du startest die Threads c1 und c2 nie. Daher bringen die Interrupts nichts.Probier es mal so:[JAVA=85]public void messung(){th1 = new c1();th1.start();th2 = new c2();th2.start();}[/code]
Du startest die Threads c1 und c2 nie. Daher bringen die Interrupts nichts.
Probier es mal so:
[JAVA=85]public void messung()
{
th1 = new c1();
th1.start();
th2 = new c2();
th2.start();
}[/code]