code: def get_all_tasks(self, subsystem):
          
          with open(os.path.join(self.per_subsystem[subsystem], 'tasks'), 'r') as tasksFile:
              for line in tasksFile:
                  yield int(line)
docs: Return a generator of all PIDs currently in this cgroup for the given subsystem.