C++ Builder 参考手册 ➙ TThread ➙ Handle
头文件:#include <System.Classes.hpp>
命名空间:System::Classes
类:TThread
访问权限:public:
属性定义:
__property NativeUInt Handle = { read = FHandle, nodefault };
System::Classes::TThread::Handle 是 System::Classes::TThread 的属性,线程句柄。
- 如果是 Windows 平台,Handle 是 Windows API 的线程句柄;
- ThreadID 与 Handle 不同,分别对应于 Windows API 的线程 ID 和线程句柄。
参考:
C++ Builder 参考手册 ➙ TThread ➙ Handle