notify on the emptyCondition if an ACK is received

This commit is contained in:
Stephen Birarda 2016-03-21 11:20:39 -07:00
parent 74ae18e514
commit 4fe9ad94f5

View file

@ -157,6 +157,9 @@ void SendQueue::ack(SequenceNumber ack) {
}
_lastACKSequenceNumber = (uint32_t) ack;
// call notify_one on the condition_variable_any in case the send thread is sleeping with a full congestion window
_emptyCondition.notify_one();
}
void SendQueue::nak(SequenceNumber start, SequenceNumber end) {