def _cleanup_slots(self):
for i, pid in enumerate(self._slots):
if pid != 0:
if not psutil.pid_exists(pid):
self._slots[i] = 0
# Target is expected to return True if loop shall continue and False if it
# should break.
评论列表
文章目录