Posts by Aitor Ruiz • 11 points
2 posts
-
0
votes1
answer102
viewsA: How to pause a thread and run another thread?
Well, the possible solution to your problem would be to use Thread’s methods, which are Wait() and notify(). When thread0 writes "A" in the order variable of the Mutablestring class, you put it to…
-
1
votes1
answer71
viewsQ: Java - Thread Synchronization Questions
I have the following classes: Vehicle (Vehicle): public class Vehicle { private String chassis; private String type; private double topSpeed; public Vehicle() { } public Vehicle(String chassis,…
javaasked Aitor Ruiz 11