Beispiel #1
0
 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
Beispiel #2
0
 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