The threads of the process :type: [:class:`WinThread`] -- A list of Thread
(self)
| 114 | |
| 115 | @property |
| 116 | def threads(self): |
| 117 | """The threads of the process |
| 118 | |
| 119 | :type: [:class:`WinThread`] -- A list of Thread |
| 120 | """ |
| 121 | owner_pid = self.pid |
| 122 | return [WinThread._from_THREADENTRY32(th, owner=self) for th in windows.system.enumerate_threads_generator() if th.th32OwnerProcessID == owner_pid] |
| 123 | |
| 124 | def virtual_alloc(self, size): |
| 125 | raise NotImplementedError("virtual_alloc") |
nothing calls this directly
no test coverage detected