예제 #1
0
파일: child.py 프로젝트: phongnh/kitty
 def process_group_map() -> DefaultDict[int, List[int]]:
     ans: DefaultDict[int, List[int]] = defaultdict(list)
     for pid, pgid in _process_group_map():
         ans[pgid].append(pid)
     return ans
예제 #2
0
파일: child.py 프로젝트: s1341/kitty
 def process_group_map():
     ans = defaultdict(list)
     for pid, pgid in _process_group_map():
         ans[pgid].append(pid)
     return ans