Skip to content

Commit

Permalink
[core] Split m_AckLock into two:
Browse files Browse the repository at this point in the history
m_RecvAckLock and m_RcvBufferLock
  • Loading branch information
maxsharabayko authored and rndi committed Oct 15, 2019
1 parent 94eb4be commit 7870c8a
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 60 deletions.
1 change: 1 addition & 0 deletions srtcore/buffer.cpp
Expand Up @@ -192,6 +192,7 @@ void CSndBuffer::addBuffer(const char* data, int len, int ttl, bool order, uint6

// XXX unchecked condition: s->m_pNext == NULL.
// Should never happen, as the call to increase() should ensure enough buffers.
SRT_ASSERT(s->m_pNext);
s = s->m_pNext;
}
m_pLastBlock = s;
Expand Down

0 comments on commit 7870c8a

Please sign in to comment.