2 ms·
This is Java, the use of wait() and notifyAll() means the whole thing is running in a synchronized method/statement.
by lilyball 2y ago
This is Java, the use of wait() and notifyAll() means the whole thing is running in a synchronized method/statement.