Browse Source

Fix formatting

pull/4/head
Simon 8 years ago
parent
commit
9bdad43462
  1. 2
      src/asyncrpcqueue.cpp

2
src/asyncrpcqueue.cpp

@ -31,7 +31,7 @@ void AsyncRPCQueue::run(size_t workerId) {
AsyncRPCOperationId key; AsyncRPCOperationId key;
std::shared_ptr<AsyncRPCOperation> operation; std::shared_ptr<AsyncRPCOperation> operation;
{ {
std::unique_lock< std::mutex > guard(lock_); std::unique_lock<std::mutex> guard(lock_);
while (operation_id_queue_.empty() && !isClosed() && !isFinishing()) { while (operation_id_queue_.empty() && !isClosed() && !isFinishing()) {
this->condition_.wait(guard); this->condition_.wait(guard);
} }

Loading…
Cancel
Save