Root > Reference > All Functions > ThreadData

Function ThreadData

Previous pageReturn to chapter overviewNext page   

Returns thread information (current thread only).







Code (Delphi)

function ThreadData: TEurekaThreadData;


Return value

Information about current thread. Do not destroy the returned object. This value could be nil for rare cases (such as calling this function before/after EThreadsManager's initialization/finalization).



Use this function to get information about current thread.


There is no need to release the returned object.


There is no need to use locking - because informational object for current thread will exist until thread is terminated. Most thread properties are read-only and don't require synchronization. Dynamic properties (such as Name, LastException, LastHTMLPage) should be modified by current thread only.


This function can return information only about current thread. Use AquireThreadData or ThreadDataEnum functions to get information about arbitrary thread. 


See also

Send feedback... Build date: 2022-03-28
Last edited: 2022-03-28
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: