45 zyppng::blockAllSignalsForCurrentThread();
47 zyppng::ThreadData::current().setName(
"Zypp-Cleaner");
49 std::unique_lock<std::mutex> lk(
_m );
53 auto filter = []( pid_t pid ){
55 int res = waitpid( pid, &status, WNOHANG );
57 bool removeMe = ( res == -1 || res == pid );
63 _cv.wait_for( lk, std::chrono::milliseconds(100) );