Commit b599cced authored by David COME's avatar David COME
Browse files

Fixed DiskReadThreadPool::DiskReadWorkerThread::run indentation

parent d081f568
......@@ -80,16 +80,15 @@ namespace daemon {
return ret;
}
void DiskReadThreadPool::DiskReadWorkerThread::run() {
std::auto_ptr<DiskReadTaskInterface> task;
while(1) {
task.reset( _this.popAndRequestMore());
if (NULL!=task.get()) {
task->execute(lc);
}
else {
break;
}
} //end of while(1)
std::auto_ptr<DiskReadTaskInterface> task;
while (1) {
task.reset(_this.popAndRequestMore());
if (NULL != task.get()) {
task->execute(lc);
} else {
break;
}
} //end of while(1)
}
tape::threading::AtomicCounter<int> DiskReadThreadPool::DiskReadWorkerThread::m_nbActiveThread(0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment