only notify once

This commit is contained in:
Luca Conte 2025-04-16 05:14:04 +02:00
parent a84d702509
commit adad2d6553
1 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,6 @@ class Semaphore {
synchronized public void release() {
this.value--;
notifyAll();
notify();
}
}