Skip to content

Commit

Permalink
Apply clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Yushkevich <[email protected]>
  • Loading branch information
neewy authored and kamilsa committed Dec 27, 2017
1 parent 05ee702 commit 9b03798
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions irohad/torii/torii_service_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ namespace torii {
/**
* shuts down service handler. (actually, shuts down completion queue only)
*/
void ToriiServiceHandler::shutdown() { completionQueue_->Shutdown();
void* tag = nullptr;
void ToriiServiceHandler::shutdown() {
completionQueue_->Shutdown();
void *tag = nullptr;
bool ok = false;

while (completionQueue_->Next(&tag, &ok)){
//wait until completion queue shuts down
while (completionQueue_->Next(&tag, &ok)) {
// wait until completion queue shuts down
}
}

Expand Down

0 comments on commit 9b03798

Please sign in to comment.