increment counter every time we overrid a message in async mode.

This commit is contained in:
Luiz Siqueira
2018-08-14 08:51:20 -03:00
parent 54896763ab
commit 863f704f47
4 changed files with 22 additions and 0 deletions

View File

@@ -30,6 +30,11 @@ public:
{
}
int overrun_counter() const
{
return q_.overrun_counter();
}
#ifndef __MINGW32__
// try to enqueue and block if no room left
void enqueue(T &&item)