Wakes up all waiting threads.
notifyAll()
See Also
notify wait acquire release threading.Condition
notify
wait
acquire
release
threading.Condition
Remarks
The notifyAll() function wakes up all threads in the waiting state one by one, and the awakened threads will reacquire the thread lock.