Mercurial > hg > orthanc
diff Core/MultiThreading/ThreadedCommandProcessor.cpp @ 1334:7f0aa3c0f659
code improvements
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Mar 2015 15:28:19 +0200 |
parents | 6e7e5ed91c2d |
children |
line wrap: on
line diff
--- a/Core/MultiThreading/ThreadedCommandProcessor.cpp Mon Mar 30 15:12:21 2015 +0200 +++ b/Core/MultiThreading/ThreadedCommandProcessor.cpp Mon Mar 30 15:28:19 2015 +0200 @@ -175,7 +175,7 @@ { boost::mutex::scoped_lock lock(mutex_); - while (!remainingCommands_ == 0) + while (remainingCommands_ != 0) { processedCommand_.wait(lock); }