Searched refs:tgid_map (Results 1 – 2 of 2) sorted by relevance
48 bool TaskList::Scan(std::map<pid_t, std::vector<pid_t>>& tgid_map) { in Scan() argument49 tgid_map.clear(); in Scan()51 return ScanPidsInDir("/proc", [&tgid_map](pid_t tgid) { in Scan()54 tgid_map.insert({tgid, pid_list}); in Scan()
162 std::map<pid_t, std::vector<pid_t>> tgid_map; in main() local176 if (!TaskList::Scan(tgid_map)) { in main()179 for (auto& tgid_it : tgid_map) { in main()