Encapsulates the capability to contain Thread objects.
|
|
|
|
|
__initialize_snapshot(self)
Private method to automatically initialize the snapshot when you try
to use it without calling any of the scan_* methods first. |
source code
|
|
|
bool
|
|
|
dictionary-valueiterator
|
|
|
int
|
|
|
|
|
|
|
|
|
|
_has_thread_id(self,
dwThreadId)
Private method to test for a thread in the snapshot without
triggering an automatic scan. |
source code
|
|
|
|
_get_thread_ids(self)
Private method to get the list of thread IDs currently in the
snapshot without triggering an automatic scan. |
source code
|
|
|
|
|
|
bool
|
|
|
bool
|
|
|
bool
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
start_thread(self,
lpStartAddress,
lpParameter=0,
bSuspended=False)
Remotely creates a new thread in the process. |
source code
|
|
|
bool
|
|
|
Thread
|
|
|
dictionary-keyiterator
|
|
|
dictionary-valueiterator
|
|
|
list( int )
|
|
|
int
|
|
|
list( Thread )
|
|
|
list of Window
|
|
|
|
scan_threads(self)
Populates the snapshot with running threads. |
source code
|
|
|
|
clear_dead_threads(self)
Remove Thread objects from the snapshot referring to threads no
longer running. |
source code
|
|
|
|
clear_threads(self)
Clears the threads snapshot. |
source code
|
|
|
|
close_thread_handles(self)
Closes all open handles to threads in the snapshot. |
source code
|
|