# HG changeset patch # User Sebastien Jodogne # Date 1373461766 -7200 # Node ID 077a23f652a15ddf568a2fb7a03f6e3f41e98469 # Parent 339067c6bdb14889c29f024d29eb56e63bc6ba8f# Parent d665b8fc8560b24175402b7138d87f135e37775d merge diff -r 339067c6bdb1 -r 077a23f652a1 Core/MultiThreading/ThreadedCommandProcessor.cpp --- a/Core/MultiThreading/ThreadedCommandProcessor.cpp Wed Jul 10 15:09:05 2013 +0200 +++ b/Core/MultiThreading/ThreadedCommandProcessor.cpp Wed Jul 10 15:09:26 2013 +0200 @@ -107,10 +107,9 @@ void ThreadedCommandProcessor::Post(ICommand* command) { - queue_.Enqueue(command); - { boost::mutex::scoped_lock lock(mutex_); + queue_.Enqueue(command); remainingCommands_++; } }