Commit 069898c9 authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

Fixed jobno increment

The increment was only happening when sleeping was required, but
obviously needs to happen always.
parent 29685d2e
......@@ -357,8 +357,8 @@ void thread_runner(std::promise<void> started, const std::pair<std::string, std:
}
if (abort_jobs || jobno > last_jobno) break;
myjobno = jobno++;
}
myjobno = jobno++;
if (!LOGFILE) {
std::string log_file = log_dir + "/" + hostname + "-" + std::to_string(threadnum) + ".log";
......
Markdown is supported
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