C++ Builder 參考手冊 ? System::Classes ? TThread ? SetFreeOnTerminate
頭文件:#include <System.Classes.hpp>
命名空間:System::Classes
類:TThread
訪問權(quán)限:protected:
函數(shù)原型:
void __fastcall SetFreeOnTerminate(bool Value);
SetFreeOnTerminate 是 System::Classes::TThread 的成員函數(shù)盾致,修改 FreeOnTerminate 屬性會調(diào)用這個函數(shù)月匣。
參數(shù):
Value: true: 線程結(jié)束時自動銷毀,false: 線程結(jié)束時不自動銷毀。
返回值:
無节吮。
- SetFreeOnTerminate 是線程內(nèi)部調(diào)用的方法,程序可以通過讀寫 FreeOnTerminate 屬性來實現(xiàn)跳芳;
- 請參考 FreeOnTerminate 屬性的相關描述和例子程序洲脂。
相關:
- System::Classes::TThread::FreeOnTerminate
- System::Classes::TThread::Started
- System::Classes::TThread::Suspended
- System::Classes::TThread::Terminated
- System::Classes::TThread::Finished
- System::Classes::TThread::Execute
- System::Classes::TThread
- System::TObject
- VCL 類繼承關系
C++ Builder 參考手冊 ? System::Classes ? TThread ? SetFreeOnTerminate