Bug fix in registry

This commit is contained in:
gabi
2014-11-07 16:57:10 +02:00
parent 1814c31ff3
commit 2ac49b90e6
3 changed files with 4 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, int thread_count
{
threads.push_back(std::thread([&]()
{
while (true)
for(;;)
{
int counter = ++msg_counter;
if (counter > howmany) break;