Encapsulates the capability to contain Thread objects.
|
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
bool
|
__contains__(self,
anObject)
Returns:
True if the snapshot contains a Thread
object with the same ID. |
|
|
|
dictionary-valueiterator
|
|
|
int
|
|
|
|
| __add_thread(self,
aThread) |
|
|
|
|
| __del_thread(self,
dwThreadId) |
|
|
|
|
| __add_created_thread(self,
event) |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
|
start_thread(self,
lpStartAddress,
lpParameter=0,
bSuspended=False)
Remotely creates a new thread in the process. |
|
|
|
bool
|
has_thread(self,
dwThreadId)
Returns:
True if the snapshot contains a Thread
object with the given global ID. |
|
|
|
Thread
|
get_thread(self,
dwThreadId)
Returns:
Thread object with the given global ID. |
|
|
|
dictionary-keyiterator
|
iter_thread_ids(self)
Returns:
Iterator of global thread IDs in this snapshot. |
|
|
|
dictionary-valueiterator
|
|
|
list( int )
|
get_thread_ids(self)
Returns:
List of global thread IDs in this snapshot. |
|
|
|
int
|
|
|
list( Thread )
|
find_threads_by_name(self,
name,
bExactMatch=True)
Find threads by name, using different search methods. |
|
|
|
|
scan_threads(self)
Populates the snapshot with running threads. |
|
|
|
|
clear_dead_threads(self)
Remove Thread objects from the snapshot referring to threads no
longer running. |
|
|
|
|
clear_threads(self)
Clears the threads snapshot. |
|
|
|
|
close_thread_handles(self)
Closes all open handles to threads in the snapshot. |
|
|
|
|
|
|
|
|
|
|
|