Enumerates running threads.
Unit
Syntax
ParametersAForceAllActive [in, optional] False (default) - return a copy of internal thread list. This list will contain all known threads. Note that known threads may not represent all threads in your application (for example, if you did not intall low-level hooks or disable EurekaLog in system threads). True - build and return a list of all running threads in application. Only active (still running) threads are returned.
Return valueA list of threads. You have to delete this object after use. A new object is created for each function's call.
RemarksThis function creates new list of threads and fills it with information about all known threads. The returned list should be deleted after use.
There is no need to use locking - because informational object for the thread list will be individual for each function's call. Any change for dynamic properties (such as Name, LastException, LastHTMLPage) will be ignored. Use ThreadData function to modify thread's dynamic properties.
See also
|