def get_process_threads(self): rawlist = _psutil_mswindows.get_process_threads(self.pid) retlist = [] for thread_id, utime, stime in rawlist: ntuple = ntuple_thread(thread_id, utime, stime) retlist.append(ntuple) return retlist
def get_process_threads(self): rawlist = _psutil_mswindows.get_process_threads(self.pid) retlist = [] for thread_id, utime, stime in rawlist: ntuple = nt_thread(thread_id, utime, stime) retlist.append(ntuple) return retlist