Returns thread information (current thread only).
Unit
Syntax
Return valueInformation 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).
RemarksUse 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 AcquireThreadData or ThreadDataEnum functions to get information about arbitrary thread.
See also
|