Skip to content
Snippets Groups Projects
Commit 8d25840a authored by Abraham Kiggundu's avatar Abraham Kiggundu
Browse files

Fixed bug calling notifyAll instead of signalAll

parent be2a92d6
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ class Sender { ...@@ -101,7 +101,7 @@ class Sender {
// Don't accept an unreasonably large window size // Don't accept an unreasonably large window size
windowSize = Math.min(a.getWindowSize(), MAX_WINDOW_SIZE); windowSize = Math.min(a.getWindowSize(), MAX_WINDOW_SIZE);
// If space has become available, notify any waiting writers // If space has become available, notify any waiting writers
if(windowSize > oldWindowSize || foundIndex != -1) notifyAll(); if(windowSize > oldWindowSize || foundIndex != -1) sendWindowAvailable.signalAll();
} }
finally{ finally{
synchLock.unlock(); synchLock.unlock();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment