JVCL Help:CurrentMTThread
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: CurrentMTThread function
[+] JvMTThreading.pas Functions
Search in JVCL Help
Search in all projectsSummary
The current active MT thread.
Pascal
run\JvMTThreading.pas
functionCurrentMTThread: TMTThread;
Description
This global function returns the MT thread, which is currently active. The caller is running in the context of this thread. The return value will be nil if the caller is running in the context of the main VCL thread (or any other non MT thread).
About
Notes
The TJvMTThread type is equal to the TJvMtSingleThread type defined in JvMtComponents.pas.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page