31 using namespace SourceXtractor;
50 logger.debug() <<
"All worker threads done!";
65 logger.fatal() <<
"An exception was thrown from a worker thread";
69 throw Elements::Exception() <<
"No active threads and the queue is not empty! Please, report this as a bug";
78 for (
auto& source : *source_group) {
84 auto lambda = [
this, order_number, source_group =
std::move(source_group)]()
mutable {
86 for (
auto& source : *source_group) {
96 auto lambda_copyable = [lambda = std::make_shared<decltype(lambda)>(
std::move(lambda))](){
104 logger.debug() <<
"Starting output thread";
109 logger.fatal() <<
"Output thread got an exception!";
112 logger.fatal() <<
"Aborting the execution";
116 logger.debug() <<
"Stopping output thread";
const char * what() const noexceptoverride
static Logging getLogger(const std::string &name="")