MonitorCase1: Added join and end message

This commit is contained in:
Karsten Jeppesen
2021-03-02 17:07:37 +01:00
parent 3f7dc9712c
commit 9423e92dcf

View File

@@ -14,6 +14,15 @@ public class PC {
p.start();
c.start();
try {
p.join();
c.join();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println("End");
}
}