Root > Reference > All Functions > ThreadDataEnum

Function ThreadDataEnum

Previous pageReturn to chapter overviewNext page   

Enumerates running threads.

 

Unit

EThreadsManager

 

Syntax

 

Code (Delphi)

function ThreadDataEnum(

const AForceAllActive: Boolean = False

): TEurekaThreadDataList;

 

Parameters

AForceAllActive [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 value

A list of threads. You have to delete this object after use. A new object is created for each function's call.

 

Remarks

This 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




Send feedback... Build date: 2024-12-19
Last edited: 2024-12-19
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_function_ethreadsmanager_threaddataenum.php