21 catch (
const std::system_error& e)
23 std::cerr <<
"ERROR::FILTERINGALGORITHM::PREAPRE\n";
24 std::cerr <<
"ERROR::CODE:\n\t" << e.code() <<
"\n";
25 std::cerr <<
"ERROR::LOG:\n\t" << e.what() << std::endl;
35 std::lock_guard<std::mutex> lk(
mtx_run_);
49 catch (
const std::system_error& e)
51 std::cerr <<
"ERROR::FILTERINGALGORITHM::WAIT\n";
52 std::cerr <<
"ERROR::CODE:\n\t" << e.code() <<
"\n";
53 std::cerr <<
"ERROR::LOG:\n\t" << e.what() << std::endl;
59 std::cout <<
"WARNING::FILTERINGALGORITHM::WAIT\n";
60 std::cout <<
"WARNING::LOG:\n\tfiltering thread is not joinable. Returning 'true'." << std::endl;
75 std::lock_guard<std::mutex> lk(
mtx_run_);
109 std::unique_lock<std::mutex> lk(
mtx_run_);
115 catch (
const std::system_error& e)
117 std::cerr <<
"ERROR::FILTERINGALGORITHM::FILTERINGRECURSION\n";
118 std::cerr <<
"ERROR::CODE:\n\t" << e.code() <<
"\n";
119 std::cerr <<
"ERROR::LOG:\n\t" << e.what() << std::endl;