JVCL Help:CurrentMTThread

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

The current active MT thread.

run\JvMTThreading.pas


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).

run\JvMTThreading.pas


About

Notes

The TJvMTThread type is equal to the TJvMtSingleThread type defined in JvMtComponents.pas.

run\JvMTThreading.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