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))](){
109 logger.
fatal() <<
"Output thread got an exception!";
static Elements::Logging logger
void debug(const std::string &logMessage)
static Logging getLogger(const std::string &name="")
void fatal(const std::string &logMessage)
void block(bool throw_on_exception=true)
bool checkForException(bool rethrow=false)
size_t activeThreads() const
static Elements::Logging logger