mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 23:44:09 +02:00
notify on the emptyCondition if an ACK is received
This commit is contained in:
parent
74ae18e514
commit
4fe9ad94f5
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue